Error: Failed To Execute 'send' On 'xmlhttprequest': Failed To Load 'file' : Angularjs Spa
I'm very new to Angular SPA and for the first time I get a code by Googling and try to run. But I get some errors in Console. I couldn't figure out why, I found list of following C
Solution 1:
On Windows:
chrome.exe --allow-file-access-from-files
or
chrome.exe--allow-file-access-from-files--disable-web-security
On Mac:
open /Applications/Google\ Chrome.app/ --args--allow-file-access-from-files
Solution 2:
i faced something Like that and resolved by using application server like Glassfish
...
in other words using http://
protocol instead of file://
Post a Comment for "Error: Failed To Execute 'send' On 'xmlhttprequest': Failed To Load 'file' : Angularjs Spa"