Expand my Community achievements bar.

SOLVED

Coding Offers for AngularJS SPA

Avatar

Level 4

Hello,

Wondering if any Developers out there have had any experience building Target activities where the SPA was built using AngularJS?

If so, are you using Directives in your Offers to manipulate the DOM? Mutation Observers or requestAnimationFrames to wait for content to load?

I should add that we're currently using version 1.6.6.

Any insight is appreciated!!

1 Accepted Solution

Avatar

Correct answer by
Employee

hi bkmills1​,

We have a couple of examples here: Single-Page Application Implementation. There are a couple of samples that use Angular 1.X directives and ngRoute approach. We haven't used requestAnimationFrame or MutationObserver. Our samples rely on developers being able to add the necessary bits and pieces to their Angular application.

Please let me know if you should have any questions related to samples.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

hi bkmills1​,

We have a couple of examples here: Single-Page Application Implementation. There are a couple of samples that use Angular 1.X directives and ngRoute approach. We haven't used requestAnimationFrame or MutationObserver. Our samples rely on developers being able to add the necessary bits and pieces to their Angular application.

Please let me know if you should have any questions related to samples.