servergrove / NgSwitchery

An AngularJS Directive for Switchery
MIT License
87 stars 49 forks source link

implement two-way binding if the checkbox has an ng-model attribute #6

Closed robfletcher closed 10 years ago

robfletcher commented 10 years ago

If there is an hg-model attribute on the checkbox the directive will now watch for changes and trigger a state change on the switch.