cgarvis / angular-toggle-switch

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

use of ng-model #26

Closed revolunet closed 10 years ago

revolunet commented 10 years ago

Hi! thanks for the great widget :) Any reason for using model instead of the native ng-model ?

cgarvis commented 10 years ago

This is definitely something I want to do. I haven't had time to dig into how this is down yet.

cstephe commented 10 years ago

Here is a blog I found that got me using ng-model for every input directive: http://www.chroder.com/2014/02/01/using-ngmodelcontroller-with-custom-directives/ I may fork and add it myself if I have time tomorrow.

revolunet commented 10 years ago

awesome thanks !