Created
January 8, 2016 19:02
-
-
Save dobleuber/7fee2274d0091189c332 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <md-content ng-class="vm.class" ng-attr-flex-lg="{{vm.flex['lg']}}" ng-attr-flex-md="{{vm.flex['md']}}" ng-attr-flex-sm="{{vm.flex['sm']}}" | |
| ng-attr-flex-gt-md="{{vm.flex['gt-md']}}" ng-attr-flex-gt-sm="{{vm.flex['gt-sm']}}"> | |
| <ui-view name="header"></ui-view> | |
| <ui-view name="content"></ui-view> | |
| </md-content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $stateProvider | |
| .state('login', { | |
| url: '/', | |
| views: { | |
| header: { | |
| templateUrl: 'app/components/header/login.header.html', | |
| controller: 'Header as vm' | |
| }, | |
| content: { | |
| templateUrl: 'app/components/login/login.html', | |
| controller: 'Login as vm' | |
| } | |
| } | |
| }) | |
| .state('fleet', { | |
| url: '/fleet', | |
| views: { | |
| header: { | |
| templateUrl: 'app/components/header/main.header.html', | |
| controller: 'Header as vm' | |
| }, | |
| content: { | |
| templateUrl: 'app/components/fleet/fleet.html' | |
| } | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment