0

Check for the code in plunker Able to open in fire fox, but in google chrome getting error 1.XMLHttpRequest cannot load file:///C:/Users/sg0222361/Desktop/Hi/pages/login.html. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

2.In eclipse with tomcat getting error 404 error.

Derrick
  • 3,669
  • 5
  • 35
  • 50
  • Plunker Site http://plnkr.co/edit/w63uf9YYJ39HZ0BbV7OI?p=preview – Anupamkumar Meti Jun 16 '15 at 06:33
  • possible duplicate of (1) http://stackoverflow.com/questions/20041656/xmlhttprequest-cannot-load-file-cross-origin-requests-are-only-supported-for-ht (2) http://stackoverflow.com/questions/20210843/xmlhttprequest-cannot-load-file-error-in-angular-js – shreyansh Jun 16 '15 at 06:41
  • No issues with webstrom..but why not in eclipse with apache tomcat – Anupamkumar Meti Jun 18 '15 at 10:47

0 Answers0