AngularJS Toggle Switch
Toggle Switches for AngularJS. Based off Bootstrap switch by Matt Lartentis.
Download angular-toggle-switch.min.js or install with bower.
$ bower install angular-toggle-switch --save
Load angular-toggle-switch.min.js
then add the toggle-switch
module to your Angular App.
angular.module('app', ['toggle-switch']);
Switch Value: {{switchState}}
<toggle-switch ng-model="switchStatus"><toggle-switch>
<toggle-switch
ng-model="switchStatus"
on-label="sí"
off-label="no">
<toggle-switch>
<toggle-switch
ng-model="switchStatus"
knob-label="TV">
<toggle-switch>
<toggle-switch
ng-model="switchStatus"
disabled="{{true}}">
<toggle-switch>