TODO program in AngularJS and jQuery