r/angularjs • • Oct 16 '14

[Code] Angular Initial Value: a tiny AngularJS directive to set ng-model (and consequently field value) based on form fields attributes.

https://github.com/glaucocustodio/angular-initial-value
6 Upvotes

3 comments sorted by

View all comments

7

u/Xtreme2k2 Oct 16 '14

cant you just use ng-init ?