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

Hi
I am trying to use apm-rum-angular, in my we application as mentioned in this link (https://www.elastic.co/guide/en/apm/agent/rum-js/master/angular-integration.html)

I even tried the fix of Has anyone been able to use @elastic/apm-rum-angular with aot? but still, I am getting the same error.

duplicate of #250987
so that's not just me, then.