mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-14 00:46:38 -05:00
8 lines
421 B
JavaScript
8 lines
421 B
JavaScript
var angular = require('angular');
|
|
var uirouter = require('angular-ui-router');
|
|
var app = angular.module('shimapan-panel', ['ui.router', 'AuthSvc', 'ApiSvc', 'InviteSvc', 'UserSvc', 'ApiCtrl', 'InviteCtrl', 'UserCtrl', 'NavCtrl', 'PanelRoutes']);
|
|
|
|
app.run(['$rootScope', '$state', '$stateParams', function($rootScope, $state, $stateParams) {
|
|
$rootScope.$state = $state;
|
|
$rootScope.$stateParams = $stateParams;
|
|
}]); |