Re: PHP to AngularJS - Permission Denied to access property

2013-01-24 Thread Boris Zbarsky
On 1/23/13 3:39 PM, edgar.am...@gmail.com wrote: also, the the angularJS app is in my localhost port 81, the php file is in my localhost, different port. Then they're not same-origin and can't call back and forth directly. I suggest using postMessage to send the data across. -Boris

Re: PHP to AngularJS - Permission Denied to access property

2013-01-24 Thread Mounir Lamouri
On 23/01/13 20:39, edgar.am...@gmail.com wrote: [...] > also, the the angularJS app is in my localhost port 81, the php file is in my > localhost, different port. You are very likely being stopped by a cross-origin check. Try to run both code within the same origin [1] and see if that works. [1