Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I am importing and using HttpClient in a service as follows: import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http';@Injectable({ providedIn: 'root', }) export class MyService { constructor(private http: HttpClient) { }getData() { ...

  • 0

I have an Angular 6 app and writing some unit tests trying to determine if an element is visible or not based solely on the boolean result of an *ngIf directive. Markup: <div class="header" *ngIf="show"> <div>...</div> </div> spec file: it('should hide contents if show ...