Local Storage todo manager written using AngularJS