removed navbar
This commit is contained in:
parent
39c77c4333
commit
b94fa759e6
3 changed files with 0 additions and 16 deletions
|
@ -1,5 +0,0 @@
|
||||||
app.controller( 'NavbarCtrl',
|
|
||||||
[ '$scope',
|
|
||||||
function( $scope ) {
|
|
||||||
$scope.items = [ 'Balance' ];
|
|
||||||
} ] );
|
|
|
@ -13,10 +13,6 @@ app.config( [ '$stateProvider', '$urlRouterProvider',
|
||||||
url: '',
|
url: '',
|
||||||
controller: 'AppCtrl',
|
controller: 'AppCtrl',
|
||||||
views: {
|
views: {
|
||||||
'navbar': {
|
|
||||||
templateUrl: 'js/templates/navbar.tpl.html',
|
|
||||||
controller: 'NavbarCtrl'
|
|
||||||
},
|
|
||||||
'main': {
|
'main': {
|
||||||
templateUrl: 'js/templates/main.tpl.html'
|
templateUrl: 'js/templates/main.tpl.html'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<header>
|
|
||||||
<ul>
|
|
||||||
<li ng-repeat="item in items" ui-sref-active="navbar-active">
|
|
||||||
<a ui-sref="app.{{ item | lowercase }}">{{ item }}</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</header>
|
|
Loading…
Add table
Reference in a new issue