Angularjs and requirejs todo app