Question from the Angular 4 (legacy) test

What is the output of the following code? ``` var a = 1; var b = 2; var c = a + b; console.log(c); ```

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 468 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!