Top "Angular7" questions

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

Errors: Data path ".builders['app-shell']" should have required property 'class'

I am getting this error while running my application. Here are the details of my application. Angular CLI: 7.3.3 Node: 10.15.1 Angular: 7.2.7 @…

angular6 angular7
How to set value to form control in Reactive Forms in Angular

Hi Everyone I'm new to angular. Actually, I'm trying to subscribe data from a service and that data, I'm passing …

angular angular7 angular-reactive-forms
Angular 7 app getting CORS error from angular client

I have developed an angular 7 app with express backend. Express running on localhost:3000 and angular client is running on localhost:4200. …

node.js angular express cors angular7
Angular 2/4/6/7 - Unit Testing with Router

In Angular 2.0.0, I am unit testing a component that uses Router. However I get the 'Supplied parameters do not match …

angular unit-testing angular6 karma-jasmine angular7
Access to XMLHttpRequest has been blocked by CORS policy

I've a problem when I try to do PATCH request in an angular 7 web application. In my backend I have: …

angular cors angular7
Angular 7 error RangeError: Maximum call stack size exceeded

am trying to learn angular by following the official tutorial (https://angular.io/tutorial/) but when following steps for hero …

angular angular7
Show Hide a div in angular 7

I am trying to show/hide a div in angular 7 using ng-model and ng-hide but its not working. button to …

javascript angular angular7 ng-show
how to enable gzip compression in angular cli for production build

I would want to compress the bundle files that are created when building the angular project. I use ng build …

angular compression angular-cli gzip angular7
error TS2554: Expected 2 arguments, but got 1 with @ViewChild

I was using ViewChild as follows: @ViewChild("InternalMedia") localStream; @ViewChild("emoji") mEmoji; Which was working fine till angular-7.x as …

angular typescript angular7 viewchild angular8
Add Bootstrap 4 to Angular 6 or Angular 7 application

I am working on Angular application using bootstrap 4. I need help related to scss adding in my angular application. My …

angular npm bootstrap-4 angular-cli angular7