angular.js/test
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
..
auto style(injectorSpec): fix typo in "it" description 2013-10-25 21:52:46 +01:00
helpers perf(jqLite): implement and use the empty method in place of html(‘’) 2013-12-13 02:07:11 -08:00
ng fix($compile): remove invalid IE exceptional case for href 2013-12-19 12:22:58 +00:00
ngAnimate feat(ngAnimate): provide configuration support to match specific className values to trigger animations 2013-12-19 16:37:29 -05:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock fix(angular-mocks): use copy of mock data in $httpBackend 2013-12-11 15:18:45 -08:00
ngResource fix($resource): Always return a resource instance when calling class methods on resources. 2013-11-21 09:51:02 -08:00
ngRoute fix(ngRoute): instantiate controller when template is empty 2013-12-27 22:45:46 -08:00
ngSanitize fix(ngSanitize): prefer textContent to innerText to avoid layout trashing 2013-12-03 14:45:30 -08:00
ngScenario perf(jqLite): implement and use the empty method in place of html(‘’) 2013-12-13 02:07:11 -08:00
ngTouch perf(jqLite): implement and use the empty method in place of html(‘’) 2013-12-13 02:07:11 -08:00
AngularSpec.js fix(forEach): allow looping over result of querySelectorAll in IE8 2013-12-18 21:44:00 -08:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js feat(ngRepeat): use block separator comments 2013-10-09 15:19:10 -07:00
jqLiteSpec.js feat(jqLite): provide support for element.one() 2013-12-19 14:39:04 -05:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js feat(jqLite): switch bind/unbind to more recent jQuery on/off 2013-06-19 20:53:24 +01:00
loaderSpec.js fix(loader): expose $$minErr to modules such asngResource 2013-11-21 22:51:26 -08:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00