Hi Sir, You're Fabulous. at vedio 8:23 if change the code to [routerLink]="['/list',2]" , after pressing the button we are not navigating to employee list component with id=2 .
constructor(private _router: Router) { _router.events.subscribe((val) => { // Some code }); I am using this code to subscribe to route change events, but it triggers many times.. Is there any other way to subscribe to only routechanged event?
Can any one explain me e => e.id === id which exists in employee.service.ts file getEmployee(id: number): Employee { return this.listEmployees.find(e => e.id === id); } I confuse all the time when I get this type of code
Thank you for sharing this informative video! 🦄🖐🏾
Thank you very much for this video. very useful and well explained
Thankyou so much, this was exactly what I wanted in my current project.
Thank you
Sir, can be possible we use routing URL dynamically from database.
can i use third party jquery library in our angular 5 project. Please give me a solution.
Hi Sir,
You're Fabulous.
at vedio 8:23 if change the code to [routerLink]="['/list',2]" , after pressing the button we are not navigating to employee list component with id=2 .
Solved the problem after watching next vedio
Part 42 video is not available, however the text version is available. May be you will be in process to upload it !!
Hi Chandan. Just uploaded Part 42. Here is the link.
th-cam.com/video/jZJY70PY10w/w-d-xo.html
Sir Can you please do a series on Angular 4 + Nodejs ?
Entire Code for videos angular crud can be found at github.com/tharun-d/AngularCrud
constructor(private _router: Router) {
_router.events.subscribe((val) => {
// Some code
});
I am using this code to subscribe to route change events, but it triggers many times.. Is there any other way to subscribe to only routechanged event?
Can any one explain me e => e.id === id which exists in employee.service.ts file
getEmployee(id: number): Employee {
return this.listEmployees.find(e => e.id === id);
}
I confuse all the time when I get this type of code
Snapshot.params is not working for me .i am using angular 6
did you a console.log under the snapshot.params? to verify if u get the id param?