Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Integration of Angular 2 with aem 6.3

Avatar

Level 2

Hi,

Can any one please help me in integration "http" module of angular2 with AEM. I have tried to import it same as core package of angular, i.e. angular2/core, angular2/http, but the error still persists. Below is the error am getting.

clientlibs.js:156 Error: XHR error (404 Not Found) loading http://localhost:4502/content/angular2/http

Error loading http://localhost:4502/content/angular2/http as "angular2/http" from http://localhost:4502/apps/angular2-demo/components/content/angular2-text-component/ts/environment_a...

below are the angular files am loading. Can any one please suggest me if i need to add any additional js files.

1343723_pastedImage_0.png

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Administrator
2 Replies

Avatar

Correct answer by
Administrator