-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Change router so route can be a callback function #2 #3359
Conversation
I see the router has been factored out of the core of angular. Is there any commentary on that anywhere? |
@richardcrichardc there's a discussion about the move here: #2804 |
PR Checklist (Minor Feature)
|
@richardcrichardc - when you have a moment, can you read our commit message guidelines. See above. It will make it easier to merge your PRs. |
How is this: feat($routeProvider): Route can be a callback function The route parameter of $routeProvider.when() and $routeProvider.otherwise() If this is ok. Can you suggest the best way to get this into the pull request. Will a dummy commit, i.e. no actual real change, with the commit message do the job, or should I do something different. |
git commit --amend ... On 28 July 2013 22:21, Richard Collins notifications@github.com wrote:
|
The route parameter of $routeProvider.when() and $routeProvider.otherwise() can now be a callback function so that more elaborate routing logic can be used without replacing the standard router.
02dc2aa
to
fd2d6c0
Compare
cad9560
to
f294244
Compare
e8dc429
to
e83fab9
Compare
4dd5a20
to
998c61c
Compare
I think this has been obsoleted by making route a separate module. |
Continuation from #2834