12345678910111213141516171819202122232425262728293031 |
- starter.config(function ($stateProvider, $translateProvider) {
- $stateProvider.state('signinreport', {
- url: '/index',
- templateUrl: 'templates/signinreport.html',
- controller: 'SigninReportCtrl'
- })
- .state('tab', {
- url: '/tab',
- abstract: true,
- templateUrl: 'templates/tabs.html'
- })
- .state('tab.signinreportdetail', {
- url: '/reportdetail',
- views: {
- 'tab-detail': {
- templateUrl: 'templates/signinreportdetail.html',
- controller: 'SigninReportDetailCtrl'
- }
- }
- })
- .state('tab.signinreportdetailmore', {
- url: '/reportdetailmore',
- views: {
- 'tab-detailmore': {
- templateUrl: 'templates/signinreportdetailmore.html',
- controller: 'SigninReportDetailMoreCtrl'
- }
- }
- })
- })
|