Wednesday, December 3, 2014

AngularJS Fundamentals In 60-ish Minutes

AngularJS Fundamentals In 60-ish Minutes



- $Scope : Glue between Controller and View.
         : $Scope is ViewModel

- ViewModel : Data for the View or Model for View

- Controllers (in MVC) should not know about View as this makes it depend on View. This allows Controllers to be testable and Multiple Views are possible this way.

- Modules : are containers

- Routes : Maps View and Controller

No comments:

Post a Comment