diff options
| author | Misko Hevery | 2013-04-29 14:27:45 -0400 |
|---|---|---|
| committer | Misko Hevery | 2013-04-29 14:28:54 -0400 |
| commit | 400f9360bb2f7553c5bd3b1f256a5f3db175b7bc (patch) | |
| tree | 1ffaaaacded8de30b66de384954f49366ec11b7e /test/ng | |
| parent | 7812ae75d578314c1a285e9644fc75812940eb1d (diff) | |
| download | angular.js-400f9360bb2f7553c5bd3b1f256a5f3db175b7bc.tar.bz2 | |
fix(ngController): change controllerAlias to controllerAs.
Diffstat (limited to 'test/ng')
| -rw-r--r-- | test/ng/directive/ngViewSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ng/directive/ngViewSpec.js b/test/ng/directive/ngViewSpec.js index 3150c040..93b85002 100644 --- a/test/ng/directive/ngViewSpec.js +++ b/test/ng/directive/ngViewSpec.js @@ -63,7 +63,7 @@ describe('ngView', function() { }; module(function($compileProvider, $routeProvider) { - $routeProvider.when('/some', {templateUrl: '/tpl.html', controller: Ctrl, controllerAlias: 'ctrl'}); + $routeProvider.when('/some', {templateUrl: '/tpl.html', controller: Ctrl, controllerAs: 'ctrl'}); }); inject(function($route, $rootScope, $templateCache, $location) { |
