Pass URL to as $routeParam in AngularJS app
How can I pass actual URL (with slashes, commas, etc.) as a $routeParam to AngularJS App? this will work: http://paprikka.github.io/le-bat/#/preview/asdadasda this won't: http://paprikka.github.io/le-bat/#/preview/http://page.com neither will this: http://paprikka.github.io/le-bat/#/preview/http%3A%2F%2Fpage.com or this: http://paprikka.github.io/le-bat/#/preview/?url=http%3A%2F%2Fpage.com Details AngularJS routing mechanism by its design does not allow to pass strings with slashes as query parameters. I can understand the reasoning behind this decision - we don't want to create a stateless