# Angular 5 Support

**URL:** <https://community.dynatrace.com/t/angular-5-support/10201>\
**Category:** Real User Monitoring\
**Tags:** oneagent, user-sessions, javascript\
**Created:** [January 4, 2018, 2:35pm UTC](https://community.dynatrace.com/t/angular-5-support/10201 "2018-01-04T14:35:47Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam\_gardner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/adam_gardner/32/20087_2.png) [@adam\_gardner](https://community.dynatrace.com/u/adam_gardner)\
**Post date:** [January 4, 2018, 2:35pm UTC](https://community.dynatrace.com/t/angular-5-support/10201/1 "2018-01-04T14:35:47Z")

</div>

When will Dynatrace officially support Angular 5 which was released in November 2017.

[Angular 5 Release Announcement](https://blog.angular.io/version-5-0-0-of-angular-now-available-37e414935ced)

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [January 8, 2018, 7:36am UTC](https://community.dynatrace.com/t/angular-5-support/10201/2 "2018-01-08T07:36:00Z")

</div>

We are actively working on Angular5 support. It will be supported very soon. I hope we can release it in February.

---

<div class="post-metadata">

**Author:** ![adam\_gardner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/adam_gardner/32/20087_2.png) [@adam\_gardner](https://community.dynatrace.com/u/adam_gardner)\
**Post date:** [January 8, 2018, 11:06am UTC](https://community.dynatrace.com/t/angular-5-support/10201/3 "2018-01-08T11:06:32Z")

</div>

Thanks Alexander. Will this be ported to AppMon at the same time? See [this topic](https://answers.dynatrace.com/spaces/148/uem-open-q-a_2/questions/194796/angular5-support.html) re: AppMon support.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [February 20, 2018, 4:25pm UTC](https://community.dynatrace.com/t/angular-5-support/10201/4 "2018-02-20T16:25:43Z")

</div>

[@Alexander S.](https://answers.dynatrace.com/users/12024/view.html)

Is the release still planned for February? We deployed managed at a customer this week. One of the apps is using Angular 5, so it would be great if I could give an updated timeframe to the customer.

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [March 1, 2018, 1:15pm UTC](https://community.dynatrace.com/t/angular-5-support/10201/5 "2018-03-01T13:15:07Z")

</div>

Unfortunate we will not be able to release full angular 5 support in february. New target is April (Angular 5 and 6).

But if the app is still using the old http client it will work. Dynatrace is just not supporting the new http client.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [March 2, 2018, 8:35am UTC](https://community.dynatrace.com/t/angular-5-support/10201/6 "2018-03-02T08:35:13Z")

</div>

Thanks for the Update, the app is brand new with angular 5 and we are not getting User Actions, so I assume they are using the new HttpClientModule.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [April 10, 2018, 8:05am UTC](https://community.dynatrace.com/t/angular-5-support/10201/7 "2018-04-10T08:05:57Z")

</div>

Hi [@Alexander S,](https://answers.dynatrace.com/users/12024/view.html)

I had antoher meeting with the customer last week where they asked me for this. Is there a target release already?

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [April 13, 2018, 6:09am UTC](https://community.dynatrace.com/t/angular-5-support/10201/8 "2018-04-13T06:09:13Z")

</div>

Last week we detected some big issues with the new production build of Angular 5 :-(. Starting with Angular 5, by default the ng build  
now incorporates the vendor.bundle.js chunk inside the main.bundle.js, which  
does not expose http functionality for us to wrap.  
Current goal is to have support with Sprint 145 which will go to production in May.

At the moment generic XHR and Fetch is the only way to support Angular 5. For some apps this might me good enough.

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [April 30, 2018, 12:53am UTC](https://community.dynatrace.com/t/angular-5-support/10201/9 "2018-04-30T00:53:58Z")

</div>

Hi Alexander,

Is your goal for May still on track? How about  
Angular 6 (it’s only release candidate now) ? Is session replay expected  
to work for these our-of-the-box?

Andrew

---

<div class="post-metadata">

**Author:** ![dpunz](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@dpunz](https://community.dynatrace.com/u/dpunz)\
**Post date:** [May 3, 2018, 10:46am UTC](https://community.dynatrace.com/t/angular-5-support/10201/10 "2018-05-03T10:46:39Z")

</div>

Angular 5 support will be released with AppMon 7.1.3 which is currently planned on May 14th 2018. Please be aware that you might need to add a code snippet - details will follow in the documentation:

[https://www.dynatrace.com/support/doc/appmon/user-…](https://www.dynatrace.com/support/doc/appmon/user-experience-management/how-does-uem-work/manual-xhr-framework-instrumentation/)

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [May 3, 2018, 1:34pm UTC](https://community.dynatrace.com/t/angular-5-support/10201/11 "2018-05-03T13:34:31Z")

</div>

[@Dominik P.](https://answers.dynatrace.com/users/3101/view.html)

That’s great to hear. What about Dynatrace SaaS/Managed though?

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [May 4, 2018, 12:45am UTC](https://community.dynatrace.com/t/angular-5-support/10201/12 "2018-05-04T00:45:16Z")

</div>

Hi Dominik, thanks for the update! I take it this is for the AppMon agent only and not Classic?

---

<div class="post-metadata">

**Author:** ![dpunz](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@dpunz](https://community.dynatrace.com/u/dpunz)\
**Post date:** [May 7, 2018, 10:32am UTC](https://community.dynatrace.com/t/angular-5-support/10201/13 "2018-05-07T10:32:27Z")

</div>

The JS code that is injected does not depend on classic or appmon agent - it will work in both scenarios.

---

<div class="post-metadata">

**Author:** ![dpunz](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@dpunz](https://community.dynatrace.com/u/dpunz)\
**Post date:** [May 7, 2018, 10:33am UTC](https://community.dynatrace.com/t/angular-5-support/10201/14 "2018-05-07T10:33:08Z")

</div>

The JS code that is injected does not depend on classic or appmon agent - it will work in both scenarios.

---

<div class="post-metadata">

**Author:** ![matthew\_courte1](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@matthew\_courte1](https://community.dynatrace.com/u/matthew_courte1)\
**Post date:** [June 5, 2018, 12:57pm UTC](https://community.dynatrace.com/t/angular-5-support/10201/15 "2018-06-05T12:57:42Z")

</div>

Hey Dominik,

Glad to see support for Angular 5 in the latest AppMon release. I had a question on what exactly is required for implementation. The docs say “please add the flag „--vendor-chunk=true“ at build time to support auto-instrumentation. Otherwise use the snippet below.”

If we add the flag, is that all that is required to support auto-instrumentation?

Lower down in the Angular section there is another piece of text “If your application module doesn‘t import the HttpClientModule, you must adapt the module file as well.” I’m wondering if this additional step is required for all Angular 5 apps.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![dpunz](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@dpunz](https://community.dynatrace.com/u/dpunz)\
**Post date:** [June 7, 2018, 1:37pm UTC](https://community.dynatrace.com/t/angular-5-support/10201/16 "2018-06-07T13:37:44Z")

</div>

If you enable the flag the agent should be able automatically to instrument it. If for any reason this does not work you should use the code snippets below as a guidence to get Dynatrace access to the angular modules.

---

<div class="post-metadata">

**Author:** ![jonathan\_crosb1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jonathan_crosb1/32/24399_2.png) [@jonathan\_crosb1](https://community.dynatrace.com/u/jonathan_crosb1)\
**Post date:** [June 12, 2018, 7:24am UTC](https://community.dynatrace.com/t/angular-5-support/10201/17 "2018-06-12T07:24:30Z")

</div>

How about for AppMon 7.0, has the Angular 5 support been release in an update? Aren’t the JavaScript agents kept the same between 7.0 and 7.1? I cannot find any info in the release notes ([https://www.dynatrace.com/support/doc/appmon/release-notes/release-notes-7-0-25/](https://www.dynatrace.com/support/doc/appmon/release-notes/release-notes-7-0-25/))

---

<div class="post-metadata">

**Author:** ![gary\_spencer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gary_spencer/32/20876_2.png) [@gary\_spencer](https://community.dynatrace.com/u/gary_spencer)\
**Post date:** [June 12, 2018, 8:05am UTC](https://community.dynatrace.com/t/angular-5-support/10201/18 "2018-06-12T08:05:51Z")

</div>

Hi Jonathan,

We are pushing updates regularly to dynatrace, and AppMon.

Indeed there is support for Angular 5 in AppMon version 7.1.3 and is in the release notes [here](https://www.dynatrace.com/support/doc/appmon/release-notes-7-1/release-notes-7-1-3/). You can migrate from AppMon 7 to 7.1 for the full support.

Hope it addresses it for you,

Gary
