Angularjs - Http get is returning the html from the main page instead of json

0

Friends, I have a web app that works normally when installed on localhost. But when I deploy to a different server the http get returns the html from the main page instead of returning the json. Detail that occurs in chrome and firefox. In IE it works normally. Someone can help me

    
asked by anonymous 20.04.2014 / 21:18

1 answer

1

Are you using $ http?

It may be a cross domain problem

I suggest addressing a similar problem right here in OS: -with-1 "> link

    
21.04.2014 / 01:45