Hi,

CORS is correcly defined on both sides. 
I think the problem could be that angular tries to change the URL to '
http://localhost:3000/'.
This is not wat i want because the user should stay on '
http://localhost:4000/ <http://localhost:3000/>' and only the content from 
 'http://localhost:3000/' should be included inside  'http://localhost:4000/ 
<http://localhost:3000/>'.

But i have no idea why Angular2 tries to do this.
I have a solution for AngularJS with exactly the same functionality, this 
solution works fine.

I tried to change the Routing to the HashLocationStrategy but this results 
in exactly the same problem.

Am Montag, 10. April 2017 15:34:57 UTC+2 schrieb Sander Elias:
>
> Hi Felix,
>
> I'm afraid the browser would not allow you do do this. It might be that 
> you need to set up CORS correctly on both, and then add some extra 
> attributes to the script tags, I vaguely remember something on this, but 
> currently, lack the time to research this.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to