File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,11 +317,11 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
317
317
* <pre>
318
318
* // Override the internal 'views' builder with a function that takes the state
319
319
* // definition, and a reference to the internal function being overridden:
320
- * $stateProvider.decorator('views', function ($ state, parent) {
320
+ * $stateProvider.decorator('views', function (state, parent) {
321
321
* var result = {},
322
322
* views = parent(state);
323
323
*
324
- * angular.forEach(view , function (config, name) {
324
+ * angular.forEach(views , function (config, name) {
325
325
* var autoName = (state.name + '.' + name).replace('.', '/');
326
326
* config.templateUrl = config.templateUrl || '/partials/' + autoName + '.html';
327
327
* result[name] = config;
You can’t perform that action at this time.
0 commit comments