Top "Angular5" questions

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

How to reload or refresh only child component in Angular 8

I have two components, One parent and Other Child. HTML Part <div> <div class="row col-md-12"> &…

angular angular6 angular5 angular7 angular8
Error: No provider for t

I am trying to compile my angular code to production mode via ng build --prod and its successful but in …

angular angular5
Inject Style Declarations Using Hostbinding in Angular

Do you guys know how I can batch inject style declarations in a component using the @HostBinding decorator? What I …

angular angular5 angular2-hostbinding
How to place "mat-toolbar" on top of "mat-sidenav" Angular Material 5

I'm writing here since I have a question about Mat Toolbar and Mat-sidenav from Angular Material. I'm trying to get …

angular angular-material angular5 angular-material2 angular-material-5
angular 5 matsnackbar change action button color

I'm using MatSnackBar for my angular 5 project, and I cannot seem to change the color of the 'action' button. I've …

angular-material angular5
Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'

Below worked fine in Angular 4 <ng-container *ngFor="let user of list_users"> <div *ngIf="currentUser.username !== user.…

angular angular5
Angular 5 solely validation on blur?

I wonder if it is possible to have the validation in reactive forms on blur. At the moment you can …

javascript angular angular5 angular-validation
Is there a way to remove html tags from a string in JavaScript?

I am working with the rich text editor component of primeng. This editor turns everything i type in into html. …

javascript angular angular6 angular5 primeng
How can I check which version of Angular from browser?

I'm trying to buy a angular 5 template online so I just want to confirm for angular version. I have check …

angular angular5
angular 5 , orderBy asc/desc

Is there an option to change sorting by asc/desc in orderBy pipe? The array: this.testArr = [{name: 'bbb', id: …

angular5 angularjs-orderby