What do you mean by adding behavior routerLink is a special attribute called directive, they are good at adding behaviors to html element or components. This <a> tag used to link to different page. But now it links to HomeComponent because of routerLink. We changed the behavior of <a> tag. Dependency Injection It’s a design […]
Categories