servergrove/NgSwitchery — pull request #6 by robfletcher (2014-02-12 16:50:08+00:00)
Title: implement two-way binding if the checkbox has an ng-model attribute

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.