Personalization with AngularJS | Community
Skip to main content
selvaganesh
New Participant
October 16, 2015
Solved

Personalization with AngularJS

  • October 16, 2015
  • 2 replies
  • 1503 views

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.
Best answer by gopalKa

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

New Participant
August 26, 2016

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.

gopalKaAccepted solution
Employee
October 16, 2015

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