Last commit before rebase. Passed some test variables from jade into the angularjs state.