aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/location.js
diff options
context:
space:
mode:
authorjoshrtay2012-12-26 21:45:11 -0800
committerJames deBoer2013-08-12 11:04:37 -0700
commit04cebcc133c8b433a3ac5f72ed19f3631778142b (patch)
tree17c7307558e2c41624d1092a7e826a20967112ee /src/ng/location.js
parentc173ca412878d537b18df01f39e400ea48a4b398 (diff)
downloadangular.js-04cebcc133c8b433a3ac5f72ed19f3631778142b.tar.bz2
feat($route): express style route matching
Added new route matching capabilities: - optional param Changed route matching syntax: - named wildcard BREAKING CHANGE: the syntax for named wildcard parameters in routes has changed from *wildcard to :wildcard* To migrate the code, follow the example below. Here, *highlight becomes :highlight*: Before: $routeProvider.when('/Book1/:book/Chapter/:chapter/*highlight/edit', {controller: noop, templateUrl: 'Chapter.html'}); After: $routeProvider.when('/Book1/:book/Chapter/:chapter/:highlight*/edit', {controller: noop, templateUrl: 'Chapter.html'});
Diffstat (limited to 'src/ng/location.js')
0 files changed, 0 insertions, 0 deletions