Top "Angular6" questions

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

Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties(project)

After migrating application from angular 5 to 6, on running ng serve the following errors pop up. Schema validation failed with the …

angular typescript migration angular5 angular6
Angular 6 error show to 'mat-form-field' is not a known element:

Hi I am using angular 6 and my code is as follows: import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from …

angular angular-material angular6
How to navigate to other page in angular 6?

Im trying to redirect my page from login to another page. Im following this code. My login component ts file: …

html angular url routing angular6
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
Http Error Handling in Angular 6

I, am trying to handle the http error using the below class in angular 6. I got a 401 unAuthorized status from …

angular typescript angular-routing angular6 angular-errorhandler
What is the equivalent to AngularJS's ngcookie in Angular 6?

How can you create cookies in Angular 6? For AngularJS there was ngcookie. What is the equivalent way to create cookies …

angular angular6 angular-cookies
Angular 6 Sort Array of object by Date

I try to sort the array object by date for my Angular 6 application. The data has string format. I wonder …

javascript angular typescript sorting angular6
Angular 6 validate number input

I have an input and the type is number. I want to set min and max, if the input is …

angular angular6
Update to Angular v6 - Module not found: Error: Can't resolve 'fs'

I'm trying to migrate my Angular Universal project from Angular v5 to v6 I've got a service where I use …

angular webpack angular-universal angular6