angular.js/test/ng
Igor Minar 15ecc6f366 feat($route): allow chaining of whens and otherwise
Previously one had to write:

$routeProvider.when('/foo', {...});
$routeProvider.when('/bar', {...});
$routeProvider.otherwise({...});

After this change it's just:

$routeProvider.
    when('/foo', {...}).
    when('/bar', {...}).
    otherwise({...});

Breaks #when which used to return the route definition object but now
returns self. Returning the route definition object is not very useful
so its likely that nobody ever used it.
2012-04-04 16:10:44 -07:00
..
directive refactor(ngHref, ngSrc): remove duplicate tests 2012-04-04 15:01:27 -07:00
filter refactor(fromJson/date filter): move date string logic to date filter 2012-03-28 16:30:30 -07:00
anchorScrollSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
browserSpecs.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
cacheFactorySpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
compilerSpec.js fix($compile): relax the restriction that directives can not add siblings 2012-04-03 16:02:20 -07:00
controllerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
deferSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
interpolateSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js fix($location): search setter should not double-encode the value 2012-04-02 08:35:30 -07:00
logSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
parseSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
qSpec.js fix($q): $q.reject should forward callbacks if missing 2012-04-02 10:14:04 -07:00
rootScopeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
routeParamsSpec.js feat($route): allow chaining of whens and otherwise 2012-04-04 16:10:44 -07:00
routeSpec.js feat($route): allow chaining of whens and otherwise 2012-04-04 16:10:44 -07:00
sanitizeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
snifferSpec.js feat($sniffer): add hasEvent method for sniffing events 2012-04-03 10:10:44 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00