Skip to main content

All Questions

0 votes
1 answer
87 views

Angular component with content projection causes incorrect service injection

I have an Angular directive (LevelDirective) designed to determine its level based on its parent's level (i.e. if parent has level 1 => I should have level 2). It uses a standalone LevelService to ...
Alexandru Tatarciuc's user avatar
1 vote
0 answers
83 views

Angular: ng-content and token provision - how to make projected content find the inner templates' tokens instead the outer DOMs one?

I have a BadgeComponent with this template: <draw-circle [position.x]="position.x" [position.y]="position.y" [resolution]="20" [radius]="2" [color]=...
jlang's user avatar
  • 1,067