Todo App for Firefox OS - Angular JS