Coding task · Angular course · Module 6: Signals

Practice: Signal Inputs/Outputs

You read a signal input like a signal: name(). The output created by output() is an OutputEmitterRef with an emit() method (not an EventEmitter). Both APIs arrived in Angular 17.1 and 17.3, and since Angular 19 they are stable and recommended instead of @Input/@Output.

Task

Complete the samurai card: the name should come from the parent as a signal input (the new API instead of the @Input decorator), and the choice goes back to the parent through output().