small symantic changes to $stateExtender and it's directory

This commit is contained in:
Jared Tabor
2015-12-22 11:15:50 -08:00
parent de7b6ba7bd
commit 3f92e4b193
5 changed files with 22 additions and 31 deletions

View 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
});
}
};
};
}