1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    AngularJS 1.3: Controllers can no longer be global functions.

    As of AngularJS 1.3, controllers can no longer reside on window as a globally accessible function. Controllers must be declared as part of an Angular module. For more details click here

    Defining a Method on the Scope

    angularjsAngularJS

    Armed with Controllers and service factories, you'll probably want to do some work on the data to give your app behaviors. In this video we will look at providing that behavior by defining a method on the scope. This method will be bound within the HTML and update live as input changes.