You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Publicize route template parsing API in ngResource #3288
I've encountered several use cases where I need to parse route templates (eg. /items/:category/:sortBy/:categoryId) using info from $routeParams; a prominent use case is when implementing a custom cache to store backend response plus some corresponding additional information, it will be an array with the parsed route template acting as the key/index of the array.
Activity
btford commentedon Dec 9, 2013
It should be easy enough to pull this out into its own service. The only difficult part is what to call the service.
gsklee commentedon Dec 10, 2013
If you can find an awesome name for me I can send in a PR... or I'll just make up one like say
$parseRouteor$parseThisRouteTemplateThingie😉btford commentedon Dec 10, 2013
You can always change the name later. I'd make a PR first and we can discuss the name afterwards. :)
btford commentedon Feb 4, 2014
Duplicate of #738 (continue discussion there please!)