created form to output todo items in main.js file as text input fields

Using ng-repeat attribute on the p tag will instantiate a template once
per an item. So for each item in the todos array, Angular will stamp
out a new instance of the <p><input></p> HTML.