parent
441ac75f55
commit
aab9e37cc0
@ -0,0 +1,5 @@
|
||||
var app = angular.module('SinsApp', []);
|
||||
|
||||
app.controller('HeaderController', function(){
|
||||
this.foo = 'bar'
|
||||
});
|
||||
@ -1 +1,7 @@
|
||||
oh hai!
|
||||
<header ng-controller="HeaderController as header">
|
||||
<h1>Greetings Reprobates!</h1>
|
||||
{{header.foo}}
|
||||
</header>
|
||||
<main>
|
||||
main!
|
||||
</main>
|
||||
|
||||
Loading…
Reference in new issue