Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Made the route matcher public, allows to parse inputs from the url #1234

Closed
wants to merge 1 commit into from

Conversation

fran6co
Copy link

@fran6co fran6co commented Aug 6, 2012

For example, when not using ng-view now we can retrieve the current route by:

$route.match($location);

Or we could parse it:

$location.$$parse($location.$$rewriteAppUrl('/index.html?id=2'));
$route.match($location);

@mhevery
Copy link
Contributor

mhevery commented Sep 4, 2012

Thanks for the pull request. I am not sure we want to make this API public. Could you justify your use case?

For now I am going to close this. Feel free to reopen it if you can provide a use case which makes sense.

Also:

Thanks for your contribution! In order for us to be able to accept it, we ask you to sign our CLA (contributor's license agreement).

CLA is important for us to be able to avoid legal troubles down the road.

For individuals (a simple click-through form):
http://code.google.com/legal/individual-cla-v1.0.html

For corporations (print, sign and scan+email, fax or mail):
http://code.google.com/legal/corporate-cla-v1.0.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants