AngularJS Bootstrap 2/3 Toggle Switch ![Build Status](https://camo.githubusercontent.com/bdd71060bcc6414e54c2b1b81ea0870389b1029854501371fab302157020cedf/68747470733a2f2f7472617669732d63692e6f72672f4a756d704c696e6b2f616e67756c61722d746f67676c652d7377697463682e706e673f6272616e63683d6d6173746572)
Toggle Switches for AngularJS (and optionally Bootstrap). Based off Bootstrap switch by Matt Lartentis and forked from cgarvis.
Demo
jumplink.github.io/angular-toggle-switch
Installation
Download angular-toggle-switch.min.js or install with bower.
$ bower install angular-bootstrap-toggle-switch --save
Load angular-toggle-switch.min.js
then add the toggle-switch
module to your Angular App.
angular.module('app', ['toggle-switch']);
See demo for usage.
Less
If you want to use your bootstrap variables, include toggle-switch.less in your compilation stack. You can even choose among Bootstrap version 2 or 3 compatible source.
Development
Testing is done using Karma Test Runner.
$ grunt test
Release
$ grunt release