Search Keywords :- [Angular 2 router link directive, Angular 2 router-outlet directive, Angular 2 rout-config , Angular 2 RouteParams] For live example, go to plnkr http://embed.plnkr.co/vjf9Zz/ The Route-Config :- The route config is used to map components to URLs. Syntax :- @RouteConfig([ {path: '/' , component: Home_Component, as : 'Home' }, {path: '/AboutMe' , component: AboutMe_Component, as : 'AboutMe' } {path: '/ContactMe' , component: ContactMe_Component, as : 'ContactMe' } ]) The Route Params :- The route parameter is used to map given URL's parameters based on the rout URLs and It is an optional parameters for that route. ...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers