Trouble with queryparams

I am having some trouble with queryParams. My application is loaded into an iframe were I need to grab some values off of the url that is called. I have no control over how the url is formatted.

The url looks like this:

Playing around on jsbin i noticed that the below url works.

Is there a way to configure the params to work with the url I am provided by the app that loads in my page?

jsbin -