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

PHP to AngularJS - Permission Denied to access property

2013-01-23 Thread edgar . amaro
I am developing an AngularJS web app. We are transitioning from php. There is a part in this app where there is a list of people and an "add person" button. if you click on someone the app should take you to a prefilled form. if you choose to add someone new then it takes you to the same empty f