aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/route.js
AgeCommit message (Collapse)Author
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-12-14fix($route): correctly extract $routeParams from urlsGonzalo Ruiz de Villa
Routes like '/bar/foovalue/barvalue' matching '/bar/:foo/:bar' now are well mapped in $routeParams to: {bar:'barvalue', foo:'foovalue'} Closes: #1501 Signed-off-by: Gonzalo Ruiz de Villa <gonzaloruizdevilla@gmail.com>
2012-09-11fix($route): support inline annotation on .resolveMisko Hevery
2012-09-06docs($route): rename leftover $afterRouteChange to $routeChangeSuccessIgor Minar
2012-08-30fix(docs): indicate support for passing a string as the `controller` ↵Brice Burgess
property on $routeProvider's route object
2012-08-24docs(ngRoute): fix typojohnlindquist
aftre -> after
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
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-05-04chore(docs): re-skin main documentationMisko Hevery
2012-04-11test(ngView): fix failing e2e testsIgor Minar
2012-04-09fix(docs): change all directive references to use the normalized namesIgor Minar
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