We can add query params in url simply by following simple rule.
<a [routerLink]="['product-list']" [queryParams]="{ page: 99 }">Go to Page 99</a>
With typescript we can do the same as below.
this.router.navigate(['/product-list'], {...
Read More ⟶
We can use route feature of angular to move from one component to another. The template way of using the route feature is as below.
<button class="btn btn-success" [routerLink]="['/dashboard', data1, data2, data3]">Continue</button>
We can route...
Read More ⟶
We often need to modify the response that is return from the http request before it return as observable. That means before we parse it into our component we might need to update.
It all depends on the version of RxJs. Angular 6 launches with RxJs 6 - which means...
Read More ⟶
Update angular locally . This small article I am going to show you how you can easily update your local angular version to latest. I am using npm-check-updates package to update the package.json
Follow the below steps.
# Install npm-check-updates
$ npm i -g...
Read More ⟶