Skip to main content
selvaganesh
Level 5
Oct 16, 2015 2:27 AM UTC
Solved

Personalization with AngularJS

I am trying to personalize a component present in AEM page. The page is an angular application , the angular files are hosted externally and references are included in head.html.

When i add offer to the component , the data from angular is not loading. It considers the component as a standalone html , fails to get the data from angularjs.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
gopalKaAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Have global variable and assign data from inside your angular controller to the global variable. This should be usable in ur component now.

2 replies

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Have global variable and assign data from inside your angular controller to the global variable. This should be usable in ur component now.

Translate
Level 3
Aug 26, 2016 2:21 AM UTC

Did this solve your problem?  I'm working on an AngularJS project and after targeting a component that contains a controller, it no longer is gets invoked when Angular runs on the page.

Translate