Creating a basic Todo app with AngularJS