mirror of
https://github.com/Foltik/Shimapan
synced 2025-01-09 17:19:11 -05:00
14 lines
543 B
JavaScript
14 lines
543 B
JavaScript
angular.module('PanelRoutes', ['ui.router']).config(['$stateProvider', '$urlRouterProvider', '$locationProvider', function($stateProvider, $urlRouterProvider, $locationProvider) {
|
|
$locationProvider.html5Mode(true);
|
|
|
|
$urlRouterProvider.otherwise('/panel');
|
|
|
|
$stateProvider
|
|
.state('/panel', {
|
|
url: '/panel',
|
|
templateUrl: '/views/shimapan-panel/panel-home.html'
|
|
}).state('/panel/api', {
|
|
url: '/panel/api',
|
|
templateUrl: '/views/shimapan-panel/panel-api.html'
|
|
});
|
|
}]); |