AngularJS Task Manager using localstorage