aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/controllerSpec.js
AgeCommit message (Collapse)Author
2013-04-30test(controller): instantiate controller defined on windowVojta Jina
Just adding a missing spec.
2013-04-30fix(ngController): allow dots in a controller nameVojta Jina
The issue was introduced in cd38cbf975b501d846e6149d1d993972a1af0053
2013-04-22feat(controller): support as instance syntaxMisko Hevery
Support ng-controller="MyController as my" syntax which publishes the controller instance to the current scope. Also supports exporting a controller defined with route: ````javascript angular.module('routes', [], function($routeProvider) { $routeProvider.when('/home', {controller: 'Ctrl as home', templateUrl: '...'}); }); ````
2012-05-04chore(controller): allow setting map of controllersMisko Hevery
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery