Single Page Todo Application in Angular.js