RouterLink and RouterOutlet both are angular attribute directives helps to find the route from the route collection and matching route loads the component and its underlying template will be rendered on the browser. Why do we need these two directives as both of them does a similar job? Yes, i understand in routerlink directive we define the path mapped to the route and same we can do with router outlet as well right? By defining optional name attribute in the router outlet directive and the same name you can use it with outlet property in a route we registered in a routes array. Router link and router outlet directives difference is not clear Continue reading...