Top "Angular5" questions

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

Angular CLI Error: The serve command requires to be run in an Angular project, but a project definition could not be found

When running the terminal commands ng server or ng serve --live-reload=true, I'm getting this issue: The serve command requires …

angular angular5 angular-cli
How to add CORS request in header in Angular 5

I have added the CORS in header but I am still getting the CORS issue in my request. What is …

angular angular5
Set focus on <input> element

I am working a front-end application with Angular 5, and I need to have a search box hidden, but on click …

angular angular5 angular-forms
Read response headers from API response - Angular 5 + TypeScript

I'm triggering a HTTP request and I'm getting a valid response from it. The response also has a header X-Token …

angular http typescript angular5
How to add icon to mat-icon-button

I am using Angular with Material <button mat-icon-button><mat-icon svgIcon="thumb-up"></mat-icon>Start Recording&…

angular-material2 angular5
Uncaught (in promise): Error: StaticInjectorError(AppModule)[options]

I have a strange error. Usually (I did my googling), in this case of errors Angular specifies in square brackets …

angular angular5
How to do a timer in Angular 5

I'm using Angular 5. I want to know how can I start timing when a 'play' button is pressed, in order …

angular typescript timer angular5
Angular 5 - Copy to clipboard

I am trying to implement an icon that when clicked will save a variable to the user's clipboard. I have …

angular typescript angular5
Angular 5 Reactive Forms - Radio Button Group

I have 2 radio buttons, I'm using reactive forms and I have added the form controls within my component. The issue …

angular angular5 angular-reactive-forms
Angular 5 Button Submit On Enter Key Press

I have an Angular 5 form application using all the usual models but on the forms I want the form to …

html angular typescript angular5