Hi Sander,
*I looked into $location. I basically need to do a
'$location.getParams('/locations/998/search/recipes')' that will give me
back the same type of object $routeParams does --*
*-- meaning, if the URI has "998" as "storeId" OR if the window.location
search looks like "?storeId=998", it should still give me back an object
like that of $routeParams ($routeParams does this).*
*Is it possible to extract $routeParams from a $location URL?*
On Wednesday, February 12, 2014 4:34:11 AM UTC-7, Sander Elias wrote:
>
> Hi Cody,
>
> Did you look into $location <http://docs.angularjs.org/api/ng.$location>,
> I think most of what you need is solved in there!
>
> Regards
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.