cgarvis / angular-toggle-switch

AngularJS Toggle Switch
http://cgarvis.github.io/angular-toggle-switch
MIT License
160 stars 124 forks source link

ngclick || ng-change? #91

Closed Davidrl1000 closed 8 years ago

Davidrl1000 commented 8 years ago

How could I implement the ng-click or ng-change every time that the toggle is clicked?

Davidrl1000 commented 8 years ago

Sorry, I got it with your example :

<toggle-switch ng-model="switchState" ng-change="cchangedState()">