diff options
| author | Igor Minar | 2012-03-26 13:01:24 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-03-26 15:23:29 -0700 |
| commit | d54dfecb00fba41455536c5ddd55310592fdaf84 (patch) | |
| tree | fa146933a2056b69c558f8e0bc0d15a315afeaaa /src/service/exceptionHandler.js | |
| parent | 4b8d926062eb4d4483555bdbdec4656f585ab40b (diff) | |
| download | angular.js-d54dfecb00fba41455536c5ddd55310592fdaf84.tar.bz2 | |
feat($controller): support controller registration via $controllerProvider
It's now possible to register controllers as:
.register('MyCtrl', function($scope) { ... });
// or
.register('MyCtrl', ['$scope', function($scope) { ... });
Additionally a module loader shortcut api was added as well:
myModule.controller('MyCtr', function($scope) { ... });
Diffstat (limited to 'src/service/exceptionHandler.js')
0 files changed, 0 insertions, 0 deletions
