# Has anyone been able to use @elastic/apm-rum-angular with aot?

**URL:** <https://discuss.elastic.co/t/has-anyone-been-able-to-use-elastic-apm-rum-angular-with-aot/198456>\
**Category:** APM\
**Tags:** rum\
**Created:** [September 6, 2019, 5:30pm UTC](https://discuss.elastic.co/t/has-anyone-been-able-to-use-elastic-apm-rum-angular-with-aot/198456 "2019-09-06T17:30:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)\
**Post date:** [September 9, 2019, 8:42am UTC](https://discuss.elastic.co/t/has-anyone-been-able-to-use-elastic-apm-rum-angular-with-aot/198456/2 "2019-09-09T08:42:25Z")

</div>

Hi Azuka,

Thanks for trying out `@elastic/apm-rum-angular` and providing the feedback. As you have mentioned we just released the package and its not really super stable and we would appreciate the feedback from the community.

1. Regarding the Error, I am not sure if the `polyfills.ts` when you set up a project via Angular CLI is set correctly. I just tested out the rum-angular package along with angular router and it works without any issues [https://stackblitz.com/edit/angular-router-basic-example-grz785](https://stackblitz.com/edit/angular-router-basic-example-grz785). I guess it might be due to the missing `corejs/es7/reflect` polyfill, if you can provide us with a test repo, It would be really great.

2. We have not published the typings for our packages since we have not prioritised it at the moment, You can track the issue here [https://github.com/elastic/apm-agent-rum-js/issues/70](https://github.com/elastic/apm-agent-rum-js/issues/70).

3. Minor Error: Could be a bug as you have mentioned, I will test it out and post here with more details.

Thanks,  
Vignesh

---

_[View the full topic](https://discuss.elastic.co/t/has-anyone-been-able-to-use-elastic-apm-rum-angular-with-aot/198456)._
