Here, we name each thing in the list an item and for each item, we put it in a li tag. Again, we are accessing the list attribute from the scope object, which was set in the controller. The list attribute has the value of an array that has our to-do’s inside of it. We use the ng-repeat directive to go through the items and put each in their own li tag.

One last thing before we go! We can also add an input field in our HTML so we can add things to our to-do list from the webpage. To do this, we’ll write some more code in our index.html.