December 2013
Intermediate to advanced
302 pages
7h 50m
English
Just as in the MVC architecture, AngularJS controllers orchestrate data flow between models and views. We’ll spend our second day learning all about controllers and how to make views dynamic with directives. We’ll have a closer look at the $scope, which is the glue between controllers and views. To put what we learn into practice, we’ll create a view for the bookmark list and a form for creating and editing bookmarks. When we’re done, we’ll have a front end as shown in the figure.

So far we’ve retrieved data from the server with a resource to produce data objects. Today we’ll complete the flow of data down ...
Read now
Unlock full access