Unpredictable behavior


#1

Hi all

i am using http service in my project to get data from the server which is right now hosted on my local machine i created the new project and used that using $http.get
its working fine and the data is passed correctly but when i included it in my project then it shows error and returns error object

Why is this so i am confused


#2

it behaves as if in one app there is same origin policy and in other there is not