Todo manager using AngularJS and the local storage