I came across a strange assignment syntax inside an Angular 2 template. <template let-col let-car="rowData" pTemplate="body"> <span [style.color]="car[col.field]">{{car...
I am trying to update (add, remove) queryParams from a component. In angularJS, it used to be possible thanks to : $location.search('f', 'filters...
I have been reading the Angular 1 to 2 quick reference in the Angular website, and one thing I didn’t completely understand was ...
-
May 31, 2022
- 0 Comments
I just upgraded from Angular 2 beta16 to beta17, which in turn requires rxjs 5.0.0-beta.6. (Changelog here: https://github.com/angular/angular/blob/master/CHANGELOG.md#200-beta17-2016-04-28) In beta16 all was working ...
-
May 31, 2022
- 0 Comments
I have this module which componentize the external library together with additional logic without adding the <script> tag directly into the index.html: import ...
-
May 31, 2022
- 0 Comments
I’m having a problem hiding and showing an element depending of a boolean variable in Angular 2. this is the code for the ...
-
May 31, 2022
- 0 Comments
I am getting chunks of HTML codes from HTTP calls. I put the HTML blocks in a variable and insert it on my ...
-
May 30, 2022
- 0 Comments
My component has styles that depend on current datetime. In my component I’ve got the following function. private fontColor( dto : Dto ) ...
-
May 30, 2022
- 0 Comments
How to force a component’s re-rendering in Angular 2? For debug purposes working with Redux i’d like to force a component to re-render ...
-
May 29, 2022
- 0 Comments