Top "Angular7" questions

Questions about Angular version 7, the web framework from Google.

Angular 7: NullInjectorError: No provider for PagerService

I am trying to implement pagination but It's not working. Here is my code: pager.service.ts: import * as _ from …

javascript node.js angular typescript angular7
How to disable button in angular 7

I have an Angular7 app & using Reactive Forms Module for validation & forms. this is how my template looks …

angular angular7 angular-reactive-forms angular-validation
How to pipe / map an Observable in Angular

A nested object is showing up as [object Object] so I'm trying to cast it via pipe and map but …

angular typescript angular7
Get previous route Angular 7

I created a little service where I can store the route changes. import { Injectable } from '@angular/core'; import { Router, …

angular typescript angular7
Typescript 3 Angular 7 StopPropagation and PreventDefault not working

I have a text input inside a div. Clicking on the input should set it to focus and stop the …

javascript angular7 event-bubbling typescript3.0
angular 6 or 7: How to import RequestOptions and ResponseContentType in '@angular/common/http'

I have migrated angular 4 code to angular 6 and I want to know how to import below code in angular 6 or 7? …

angular angular6 angular7
Global scss variables for Angular components without importing them everytime

I do already have SCSS variables defined in src/styles/settings/_variables.scss and I am importing them into src/…

css angular sass global-variables angular7
cannot find name 'require' in angular 7(typescript 3.1.3)

My question is why this error shown? ERROR in src/app/p2p/p2p.component.ts(14,16): error TS2580: Cannot …

angular typescript angular7 typescript3.0
How to remove space bottom mat-form-field

I use angular 7 with angular material and i want to remove the space bottom as you can see. I tried …

angular-material angular7
How to set dynamic value to formControl in angular 7

I have drag and drop formBuilder we can able to create form using drag and drop so now i am …

angular angular5 angular2-forms angular7