controller: 'EntityCtrl',
controllerAs: 'entityCtrl'
})
+ .when('/group/:id', {
+ templateUrl: 'views/group.html',
+ controller: 'EntityCtrl',
+ controllerAs: 'entityCtrl'
+ })
+ .when('/module/:id', {
+ templateUrl: 'views/module.html',
+ controller: 'EntityCtrl',
+ controllerAs: 'entityCtrl'
+ })
+ .when('/classdef/:id', {
+ templateUrl: 'views/classdef.html',
+ controller: 'EntityCtrl',
+ controllerAs: 'entityCtrl'
+ })
.otherwise({
redirectTo: '/'
});