habitica/views/main/index.jade
Tyler Renelle e45d8307e7 Subdocs & script templates. Migrate the API from User.tasks =>
User.habits/dailys/todos/rewards. Move /#/tasks & /#/options page
loading from server-sent html to everything loaded in the page as script
templates (including necessary fixes for adsense). NOTE: this commit
won't work, it depends a bit on the *next* commit with Challenges
functionality, but I wanted to separate it out a bit for clarity
2013-10-28 11:34:07 -07:00

4 lines
164 B
Text

script(id='templates/habitrpg-main.html', type="text/ng-template")
include ./filters
div(ng-controller='TasksCtrl')
habitrpg-tasks(main='true', obj='user')