Hard
In this component :
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'footer-nav',
template: '<footer></footer>',
styleUrls: []
})
export class FooterNavComponent implements OnInit {
// Location A
constructor() {
// Location B
}
ngOnInit() {
// Location C
}
// Location D
}
Where is the best place to make an HTTP call to load data?
Author: Mathieu RobinStatus: PublishedQuestion passed 461 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about AngularJS