I'm getting a "Missing Hash Prefix" error on an application I'm building. 
Unfortunately I can't generate a code example as all of this is password 
protected, etc. Hoping someone may have run across this before.

I'm developing a dashboard of reports. These reports have charts. You can 
from the report actions initiate a download of these charts in PDF or PNG 
format. There is a specific endpoint URL that all of the SVG we generate is 
sent back to the server. This is done through form submit. We're rewriting 
an existing dashboard that was developed in regular JS. The download 
command is essentially outside of the Angular realm in a JS class that is 
fired to create a chart.

So essentially the application url looks like this: 
http:domain.com/dashboard#!/9446. The number is the ID number of the 
specific dashboard. The form is populated with the svg and then submits a 
url that looks something like 
this: http://domain.com/dev_account/api/image/svgto (image data is part of 
the form).

This is where the error happens. It looks like $location is detecting the 
form submission and deciding that it's a change in $location url 
state...hence throwing an error. Any ideas for a work around? We plan to 
throw this into HTML5 mode...for now we're building with the hash prefix.

Thanks!

-Joe



-- 
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.

Reply via email to