| /// <reference path="../typings/index.d.ts" /> |
| export default routesConfig; |
| function routesConfig($stateProvider: angular.ui.IStateProvider, $urlRouterProvider: angular.ui.IUrlRouterProvider, $locationProvider: angular.ILocationProvider) { |
| $locationProvider.html5Mode(false).hashPrefix(''); |
| $urlRouterProvider.otherwise('/loader'); |
| // declare here static endpoints, |
| // core related endpoints are dynamically generated |
| .state('xos.dashboard', { |
| template: '<xos-dashboard></xos-dashboard>' |
| template: '<div ui-view></div>' |