Video Discription |
In this video we will learn routing and navigation in angular application:
Demo : Main demo in this video is for optional route parameters.
we will be creating angular application.
we will be creating angular components for route.
we will define routes in angular application.
we will define routerLink.
we will define routes in AppRoutingModule.
we will import AppRoutingModule in app.module.ts.
We will configure routes and give route path and component in order to create route.
Also routerLink directive is used to navigate with the help of link provided.
Run the application to check the routes.
We will then define the empty path and component related to it.
We will also define the wildcard routes path using (**) in path.
We will also see the property redirectTo and pathMatch values.
We will also see the two values 'prefix' and 'full' in path value.
we will define optional route parameters in order to render view with some logic with route parameters and without route parameters.
subscribe to learn:
HTMl,Object Oriented Programming,AngularJS,Angular10,Angular9,Angular8,Angular7,Angular2,javascript,js,sql,sql server,programming,coding,algorithm,rxjs,rxjs operator,map,tap,retry,debounce,operator,learn programming,learn javascript program,learn angualr,angular module,component,angular component,router,route,route map,routemap,routerLink,route ROuter,parammap observable,observable,subject,subject observable,behavior subject,async subject,replay subject,complete in subject,next,next in subject,angular feature,angular CLI,CLI,generate component,generate service in angular,module,angular module,sort array,array,angular structural directive,*ngIf,*ngSwitch,*ngDefaultCase,*ngFor,template,angular template,angular view template,angular class,angular style,define class in angular,define property in angular,define events in angular,passing data between component,route parameters,route module,navigate,nagivatebyUrl,angular navigation,angular route,global method in javascript,javascript tutorial,javascript functions,javascript events,call javascript methods,wildcard route in angular,wildcard in urls,pathmatch in angular,redirectTo in angular,services in angular,how to use service in angular,how to use dependency injection in angular,dependency injection,router-outlet directive,pipes,pipe in angular,pipes in angualr,pure pipes in angular, impure pipes in angular,custom pipe in angualr,change detection in angular,ng-template,ng-container,use of ng-template in angular,use of ng-container in angular,angular event binding,binding property in angular,hostlistener,hostlistener in angular,angular architecture,create angular application,create new angular application,add subscribers in observable,add or remove subscriber to observable,next,complete,error,call next in observable,call error in observable,call complete,observable observers,@ViewChild component,debounce operator RxJS,concate operator,combineLatest,mergeMap,mergeAll,map,switchMap,building an angular app with akita,event emitter,eventemitter,database,visual studio,c#,dot net,mvc,class,object,angular9 optional route parameter,angular 2 optional parameters,angular9 optional route,angular 5 optional route parameters,angular 8 optional route parameters, |