Complete the code to use the component selector in the template.
<[1]></[1]>
The component selector is used as a custom HTML tag. Here, app-hello is the correct selector.
Complete the code to import the component and add it to the template.
import { HelloComponent } from './hello.component'; @Component({ selector: 'app-root', template: '<[1]></[1]>' }) export class AppComponent {}
The app-hello selector matches the HelloComponent's selector and is used in the template.
Fix the error in the component usage by completing the selector tag correctly.
<div> <[1]></[1]> </div>
Angular component selectors are case-sensitive and use kebab-case. app-hello is correct.
Fill both blanks to correctly use the component selector with an input property binding.
<[1] [title]=[2]></[1]>
The selector app-hello is used as the tag, and the input property title is bound to the string "Welcome" using quotes.
Fill all three blanks to use the component selector with input and output bindings.
<[1] [user]="[2]" (notify)="[3]"></[1]>
The component selector app-hello is used. The input property user is bound to currentUser, and the output event notify is bound to the method onNotify().