I am trying to retrieve GET parameters from the url of a page, using angularJS. I was able to retrieve them using the $location service, but this caused problems(see https://github.com/angular/angular.js/issues/4608). It appears this issue will be fixed at some point in 1.3.x, but I can't wait for a stable version that includes this fix. 
So is there some other way I can retrieve GET parameters?
example:
url: mysite.com/shop/?id=1&size=2
I need to retrieve this:
{
  id: '1',
  size: '2'
}
 
     
    