skip to Main Content

Javascript – inject() Angular making it difficult

How could I be using the inject() functionality in Angular 15 for this case? Way using constructor(): import { datadogRum } from '@datadog/browser-rum'; constructor(...) { datadogRum.init({ applicationId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', clientToken: 'EX-app', ... }); } Way using inject(): import { datadogRum }…

VIEW QUESTION

sending data from wordpress to angular

the project I'm working on is a wordpress plugin which display an angular application. in order to do that, I prerender the angular application with Static Site Generation and put the result in the wordpress extension. on the start of…

VIEW QUESTION
Back To Top
Search