Expert
Given the following component:
import { Component, Input } from '@angular/core';
@Component({
selector: 'app-footer-nav',
templateUrl: './footer-nav.component.html',
styleUrls: ['./footer-nav.component.css']
})
export class FooterNavComponent implements OnInit {
@Input()
title: string;
constructor() { }
}
How to call this component in an HTML template?
Author: Mathieu RobinStatus: PublishedQuestion passed 474 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about AngularJS