@ -7,3 +7,7 @@ app.controller('HeaderController', ['$http', function($http){
console.log(controller.current_user);
})
}]);
app.controller('TransgressionsController', ['$http', function($http){
this.foo = 'bar'
@ -2,6 +2,6 @@
<h1>Greetings {{header.current_user.email}}, you are a glorious reprobate!</h1>
</header>
<main>
<main ng-controller="TransgressionsController as transgressions">
main!
{{transgressions.foo}}
</main>