Question from the Angular 4 (legacy) test

Fix this AngularJS code.

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!