Can anyone provide a reference to a complete example of instrumenting a single-page application (SPA) built with Angular 2 or higher (TypeScript) with Adobe Analytics components and Launch? By complete example I mean implementation of the following:
Injection of JS on initial page load, hopefully the least invasive method (using routing modules, injected services, directives, etc.)
Implementation of direct rules and user action events (pressing buttons, selecting links, downloading files)
Sample data layer with updates to values upon partial view rendering
Sample rules and data element definition in Launch
Full sample configuration of Launch that covers page load and user action events
Step-by-step description of the entire instrumentation process in the correct order
Adobe documentation includes an article on AngularJS, which is not the version of Angular I am looking for. This article does not provide the full picture of instrumentation either. I am looking for a practical and usable documentation for Angular 2+ that includes all aspects of implementation.
This link may help you get started, it's the Reference Architecture documents for Adobe Launch. It's worth bookmarking, covers the initial items for Launch, Analytics, and Target usually - been awhile since I reviewed them though.