mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-11 07:54:55 -05:00
8 lines
371 B
JavaScript
Executable File
8 lines
371 B
JavaScript
Executable File
var angular = require('angular');
|
|
var uirouter = require('angular-ui-router');
|
|
var app = angular.module('shimapan-panel', ['ui.router', 'AuthSvc', 'ApiSvc', 'ApiCtrl', 'NavCtrl', 'PanelRoutes']);
|
|
|
|
app.run(['$rootScope', '$state', '$stateParams', function($rootScope, $state, $stateParams) {
|
|
$rootScope.$state = $state;
|
|
$rootScope.$stateParams = $stateParams;
|
|
}]); |