Start with an Initial Design

We sketched a design for the UI in the previous chapter, shown in the figure again for your convenience. We’ll implement the same look and feel for the AngularJS version as well.

images/testdom/designsketch.png

In addition, the task list in this version will appear in sorted order of the properties year, month, day, and name.

The HTML page will link to a tasks-controller.js file that will contain the AngularJS controller. This controller will contain the code for client-side computing and will interact with a service class in a tasks-service.js file. The service will act as a glue between the view in the browser and the data from the server. The ...

Get Test-Driving JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.