implemented classic todo application in AngularJS