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.

