Task Manager in Angular.js