I would like to read the initial value ngModel.$viewValue from different directive.
# coffee script app.directive \'directive\', -> return { requ
If you want to work with some value from HTML inside your directive you should use ngInit. It will look like
I faced the same problem, and it turned out that what I was doing was not an Angular way. Check this link for more details