Skip to content

Commit 44aa8f5

Browse files
committed
Merge pull request #1294 from DaftMonk/fix/controller-as-property
fix(app): correct `controllerAs` property
2 parents f5c4048 + 8777407 commit 44aa8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/client/app/main/main(js).js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ angular.module('<%= scriptAppName %>')
66
.when('/', {
77
templateUrl: 'app/main/main.html',
88
controller: 'MainController',
9-
conterollerAs: 'main'
9+
controllerAs: 'main'
1010
});
1111
});<% } %><% if (filters.uirouter) { %>.config(function($stateProvider) {
1212
$stateProvider
1313
.state('main', {
1414
url: '/',
1515
templateUrl: 'app/main/main.html',
1616
controller: 'MainController',
17-
conterollerAs: 'main'
17+
controllerAs: 'main'
1818
});
1919
});<% } %>

0 commit comments

Comments
 (0)