angular.js/src/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
.jshintrc chore(grunt): add jshint tasks 2013-10-22 15:32:40 -07:00
route.js style($route): make jshint happy 2013-12-09 14:57:49 -08:00
routeParams.js docs: correct broken links 2013-10-18 15:35:41 -07:00