mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-05 07:51:51 -05:00
small symantic changes to $stateExtender and it's directory
This commit is contained in:
15
awx/ui/client/src/shared/stateExtender.provider.js
Normal file
15
awx/ui/client/src/shared/stateExtender.provider.js
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
export default function($stateProvider){
|
||||
this.$get = function(){
|
||||
return {
|
||||
addState: function(state) {
|
||||
$stateProvider.state(state.name , {
|
||||
url: state.route,
|
||||
controller: state.controller,
|
||||
templateUrl: state.templateUrl,
|
||||
resolve: state.resolve
|
||||
});
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user