Relative Content

Tag Archive for angularangular-standalone-components

Angular Standalone – How to Inject Service into Service

I’m a longtime Angular dev now trying to learn the standalone version. How do I inject a service into another service without a providers array in the NgModule. Is my only choice using providedIn in the Injectable declaration?

Multiple standalone component in Angular

My problem I am trying to load an Angular applications with multiple root-components, e.g.: <body> <element-a></element-a> <element-b></element-b> <element-c></element-c> </body> I want to have multiple root-components instead of a single because I would like to use them in an old legacy asp.net Framework website. Previously I was able to get this done by bootstrapping my angular […]