ui-switch directive (not to be confused with
ng-switch) lets you create a toggle switch control bound to a boolean
ngModel. You can also use
ngChange in conjunction with
[switch] to trigger functions in response to model changes.
comments powered by Disqus