Expand my Community achievements bar.

AngularJS Components and Targeting (Client Side Rules via Segmentation and ClientContext)


Level 1

Hey Team,

I'm currently having issues with targeting my AngularJS components (which are created as standalone directives that reference a HTML template via the "templateUrl" property). Whenever I try to create different offers for my segments on the component, it disappears.

I have followed the basic setup of AngularJS in AEM but is there something else that I'm missing?

I have uploaded a package file (.zip) containing a simplified version of my application which also contains one of my AngularJS components - It's basically a custom text on image component.

Essentially, I would like an easy way to pull properties from a dialog and render that data in an AngularJS component that is able to be targeted - have different versions of the component based on properties of a user.

0 Replies