angular.js/test/ngRoute
Caitlin Potter 498365f219 fix(ngRoute): instantiate controller when template is empty
Before this change, $route controllers are not instantiated if the template is falsy, which includes
the empty string. This change tests if the template is not undefined, rather than just falsy, in
order to ensure that templates are instantiated even when the template is empty, which people may
have some reason to do.

This "bug" was reported in http://robb.weblaws.org/2013/06/21/angularjs-vs-emberjs/, as a "gotcha"
for AngularJS / ngRoute.

Closes #5550
2013-12-27 22:45:46 -08:00
..
directive fix(ngRoute): instantiate controller when template is empty 2013-12-27 22:45:46 -08:00
routeParamsSpec.js feat($route): express style route matching 2013-08-12 11:04:37 -07:00
routeSpec.js fix(modules): stop leaking global variables in tests 2013-10-10 11:58:15 -07:00