aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/routeSpec.js
AgeCommit message (Collapse)Author
2013-03-08test($route): add tests for matching 'otherwise' routesIgor Minar
2013-02-27feat($route): add `caseInsensitiveMatch` option for url matchingDavid Chang
with this property urls can be matched case-insensitively which enables some new use cases.
2013-02-14feat(routeProvider): Add support to catch-all parameters in routesLuis Ramón López
This allows routeProvider to accept parameters that matches substrings even when they contain slashes if they are prefixed with an asterisk instead of a colon. For example, routes like edit/color/:color/largecode/*largecode will match with something like this http://appdomain.com/edit/color/brown/largecode/code/with/slashs.
2013-01-18feat(route): Allow using functions as template params in 'when'Luis Ramón López
2013-01-16fix($route): support route params not separated with slashes.Martin Probst
Commit 773ac4a broke support for route parameters that are not seperated from other route parts by slashes, which this change fixes. It also adds some documentation about path parameters to the when() method and escapes all regular expression special characters in the URL, not just some.
2012-11-26fix($location): reset $location.$$replace with every watch callRado Kirov
Closes #1111
2012-09-11fix($route): support inline annotation on .resolveMisko Hevery
2012-06-02feat($location): add $locatonChange[begin|completed] eventMisko Hevery
This allows location change cancelation
2012-06-01feat($route): rename template -> tempalteUrl and add support for inline ↵Misko Hevery
templates BREAKING CHANGE: template in $route definition is now templateUrl To migrate just rename `template` to `templateUrl`.
2012-06-01chore($route): rename eventsMisko Hevery
BREAKING CHANGE rename $beforeRouteChange to $routeChangeStart rename $afterRouteChange to $routeChangeSuccess
2012-06-01feat($route): resolve local route promisesMisko Hevery
Resolve all promises on route before we fire $afterRouteChange which then renders the ngView.
2012-04-04feat($route): allow chaining of whens and otherwiseIgor Minar
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-03-28chore(module): move files around in preparation for more modulesMisko Hevery