Ben Nadel demonstrates how to access the “view model” inside the directive link function when you are using the “controller as” syntax in AngularJS.

Source: Accessing The View-Model Inside The Link Function When Using Controller-As In AngularJS

Posted in: Articles.
Last Modified: August 28, 2015

Leave a Reply