|
|
|
@ -4,8 +4,12 @@ define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) {
|
|
|
|
|
app.config(['$stateProvider', function ($stateProvider) {
|
|
|
|
|
$stateProvider.state('listMenu', {
|
|
|
|
|
url: '/menu?role',
|
|
|
|
|
templateUrl: '/static/config/managers/templates/managers.html',
|
|
|
|
|
controller: 'listMenuCtrl'
|
|
|
|
|
controller: 'listMenuCtrl',
|
|
|
|
|
views: {
|
|
|
|
|
"menu": {
|
|
|
|
|
template: "/static/config/managers/templates/managers.html"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}]);
|
|
|
|
|
app.controller('listMenuCtrl', ['$scope', '$http', '$filter','$uibModal', 'commonDialog','$stateParams', function ($scope, $http,$filter, $uibModal, commonDialog,$stateParams) {
|
|
|
|
|