Angularjs 2 and AEM | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Hi,

Recently I worked on a project in which  AngularJS v1.5.5 was used with AEM 6.1 for a lot of features

I haven't seen any major issues but you might see some challenges when using angular templates in AEM.

Reg, Angular 2, its still new and you might see issues and also its completely different from previous version of angular.

These comments are based on my experience with it :)

Thanks

11 replies

smacdonald2008
Level 10
October 26, 2016

You add this JS lib the same way as other JavaScript frameworks. You use a ClientLib as discussed in this article: 

https://helpx.adobe.com/experience-manager/using/AngularJS.html

Hope this points you in the correct direction... 

kautuk_sahni
Community Manager
Community Manager
October 27, 2016

Hi 

Adding to what Scott has mentioned, Adding any JS framework to AEM is as simple as adding a Third party JavaScript.

Please refer to this Adobe Helpx article for your help:- 

Link:- https://helpx.adobe.com/experience-manager/using/AngularJS.html

Another reference article :

Link:- http://www.conexiogroup.com/angular-sightly-in-your-aem-project/

// Angular + Sightly in your AEM project

 

Link:- https://helpx.adobe.com/experience-manager/using/vanitypath.html

// Helpx package/Article having AEM and Angular working together.

 

~kautuk

Kautuk Sahni
edubey
edubeyAccepted solution
Level 10
October 27, 2016

Hi,

Recently I worked on a project in which  AngularJS v1.5.5 was used with AEM 6.1 for a lot of features

I haven't seen any major issues but you might see some challenges when using angular templates in AEM.

Reg, Angular 2, its still new and you might see issues and also its completely different from previous version of angular.

These comments are based on my experience with it :)

Thanks

kiranm18472585
Level 2
October 27, 2016

Thank you for the details..

Level 3
October 28, 2016

Hi,

Is there some example of Angular 2 with AEM. I have started learning angular2, it says that it reuired npm server to execute. So do we need npm server along with AEM to run angular 2?

smacdonald2008
Level 10
October 28, 2016

Only example is Angular with AEM. 

kiranm18472585
Level 2
October 28, 2016

As of now, it’s not clear on whether we need npm server along with AEM however we can generate the required java scripts using Angular CLI and add them as part of Client Library. 

Level 3
October 29, 2016

Thanks for the information

smacdonald2008
Level 10
February 16, 2017
kiranm18472585
Level 2
February 16, 2017

Thank you. Really appreciate your response on this.