CPSC415A
Web Programming

Assignment 26

AngularJS

Create a simple todo web app using AngularJS. The app should

  1. Create a Template that defines a textfield, a button, and a ordered list.
  2. Create Data Bindings for the textfield’s value and the ordered lists items. Include track by $index in the data binding to allow duplicates.
  3. Create a Controller that adds the textfield’s current value to a list when the button is clicked. The contents of the list should be displayed in the ordered list using the data bindings, not by using JavaScript to modify the DOM.

Submission

Submit your code on the course Inquire site.