Angular Routing | LazyLoading | AuthGuard | multiple router-outlet | all in one video

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2021
  • In this video you will learn all about angular routing so that you can start building your dream project soon.
    Source code Link: github.com/Tar...
    =============================================
    For any Business/Freelancing enquiry contact us
    Gmail :- tarique.rkl@gmail.com
    WhatsApp :- +917978073704
    =============================================
    ng-bootstrap link : ng-bootstrap.g...
    Angular-FortAwesome Link : github.com/For...
    Generate an application with routing enabled
    ng new angular-routing --routing
    The following command uses the Angular CLI to generate a basic Angular application with an application routing module, called AppRoutingModule, which is an NgModule where you can configure your routes. The application name in the following example is angular-routing.
    Add components for routing
    ng generate component login
    To use the Angular router, an application needs to have at least two components so that it can navigate from one to the other. To create a component using the CLI, enter the following at the command line where login is the name of your component
    Repeat this step for a second component but give it a different name. Here, the new name is forgot-password.
    ng generate component forgot-password
    again for not-found
    ng generate component not-found
    Defining a basic route
    we first define all the basic route using routerLink for login, forgot-password,
    then
    Setting up wildcard routes
    { path: '**', component: }
    if user type or try to go to a path which is not present in the application then we will redirect the user to page-not found component
    Lazy loading
    You can configure your routes to lazy load modules, which means that Angular only loads modules as needed, rather than loading all modules when the application launches. Additionally, you can preload parts of your application in the background to improve the user experience.
    Preventing unauthorized access
    Use route guards to prevent users from navigating to parts of an application without authorization. The following route guards are available in Angular:
    ---- CanActivate
    ```
    export class YourGuard implements CanActivate {
    canActivate(
    next: ActivatedRouteSnapshot,
    state: RouterStateSnapshot): boolean {
    // your logic goes here
    }
    }
    ```
    watch this video till the very end manything you will learn about a real world project

ความคิดเห็น • 178

  • @MikajyRatsimbazafy
    @MikajyRatsimbazafy 6 วันที่ผ่านมา +1

    This video is exactly what I was looking for for a month already, Very sincere thanks from me.

  • @gandamraviteja7019
    @gandamraviteja7019 2 หลายเดือนก่อน +2

    Thank you so much for ur work just with 30 mins you cleared several problems in my mind and you made my work more n more simpler
    thanks is really very tiny for ur work

  • @rakhipramanik2439
    @rakhipramanik2439 2 ปีที่แล้ว +28

    I would like to tell all the beginners, you have to follow this it's really Amazing you have to watch this till end.

    • @TechnicalBabaji1
      @TechnicalBabaji1  2 ปีที่แล้ว +4

      Thank you so much 😊 I really appreciate

    • @uditbalyan
      @uditbalyan 2 ปีที่แล้ว +4

      Yeah. Its the most appropriate tutorial in proper quick time. 👏👏

  • @user-sr4nk3fk7p
    @user-sr4nk3fk7p 2 หลายเดือนก่อน +1

    In half an hour u have done a smart work bro... Thanks a lot

  • @techmagictarun
    @techmagictarun หลายเดือนก่อน

    I think this is the best video for Learning Routing, Guard, Common Component, Form, Featuring Routing all main topics covered in single video 0f 30 minutes

  • @vinaymahadevan2161
    @vinaymahadevan2161 2 ปีที่แล้ว +1

    Thanks. You saved 3 days of web searching with simple very clear video.

  • @pavanbhat5573
    @pavanbhat5573 2 ปีที่แล้ว +9

    Amazing video. Though this was a 30 minutes video, the content covered was actually much! Angular is awesome and please create more projects as this one. Thank you so much

  • @prodbyovie6481
    @prodbyovie6481 ปีที่แล้ว +1

    Best Angular tutorial i have watched so far...Love it!!

  • @priyankakrish1684
    @priyankakrish1684 10 วันที่ผ่านมา

    Thankyou so much for your clear explanation

  • @user-ky1yj7gy7u
    @user-ky1yj7gy7u 6 หลายเดือนก่อน +1

    very good video with simple explanation

  • @ehrazahmed8190
    @ehrazahmed8190 ปีที่แล้ว +1

    This cleared all my concepts for routing using angular

  • @hackerhunter6212
    @hackerhunter6212 2 ปีที่แล้ว +1

    Yes, you are talented. there are lot more theories in this video about angular we cannot found in months

  • @vaibhavtripathi200
    @vaibhavtripathi200 2 ปีที่แล้ว +1

    You are one of the finest content creator. Great work...

  • @neethuananthu5477
    @neethuananthu5477 2 ปีที่แล้ว +1

    Very Informative video, thank you

  • @imyuvraj29
    @imyuvraj29 2 ปีที่แล้ว +6

    Awesome... Most recomended video guys.
    This is one of the best Angular router videos till now.
    I had lots of doubts about routing before but after this video, I have to say you won my heart.
    Thank you so much for this video. I really appreciate the efforts.. A Big Like from my side and subscribe button hit.
    I hope we will get such videos in the future.

  • @saumyaneekhara6000
    @saumyaneekhara6000 2 ปีที่แล้ว +1

    Thanks for the help and amazing channel

  • @DebasmitSamal294
    @DebasmitSamal294 2 ปีที่แล้ว +1

    Excellent... awesome. Very nice video which covers great thing for Angular developers. You made my day brother.

  • @akash4952
    @akash4952 2 ปีที่แล้ว +2

    great content loved it

  • @tsukiyomi84
    @tsukiyomi84 2 ปีที่แล้ว +18

    Overall a good tutorial, next time I would recommend having two sets of code people can download.
    One with the starting project, with all the html, styles and anything non-router related already added, and one with the finished project for reference.
    Its easier for people to absorb information on a subject if they don't have to go through a lot of unrelated information first. The video is about routing but anyone following along will need to install and configure a bunch of packages and copy and paste a bunch of code. Thats unnecessary.

  • @Amit-jb5xt
    @Amit-jb5xt 2 ปีที่แล้ว

    Thank you sir after this
    I've created user role and given path
    Sored role in session
    And role based routing I've done

  • @tharunnair8344
    @tharunnair8344 ปีที่แล้ว

    Fantastic!!!..Many Thanks

  • @jayantiroy1476
    @jayantiroy1476 3 ปีที่แล้ว

    Thanks a lot, Bahut kuch samaj meh aaya .

  • @raghibhussain1375
    @raghibhussain1375 2 ปีที่แล้ว

    this one is awesome, in very less time, described whole routing

  • @priyankabhasakhetre3099
    @priyankabhasakhetre3099 2 ปีที่แล้ว +1

    Very well explained it's very useful 😀

  • @atifsaeedkhan9207
    @atifsaeedkhan9207 ปีที่แล้ว

    Excellent nd to the point with details. Thanks.

  • @maheshmhamane893
    @maheshmhamane893 2 ปีที่แล้ว

    great tutorial every thing is here in
    simple way

  • @jptechnoservice9013
    @jptechnoservice9013 2 ปีที่แล้ว

    Nice video

  • @iamzb3006
    @iamzb3006 2 ปีที่แล้ว +1

    Thank you brother, for your efforts.

  • @hemantsingh2962
    @hemantsingh2962 2 ปีที่แล้ว

    This video cleared my my routing doubts thanks

  • @price-action-trading
    @price-action-trading ปีที่แล้ว

    Awesome... Thank you very much

  • @suryaguthula6531
    @suryaguthula6531 2 ปีที่แล้ว

    Excellent simple sharp and clear ThanksBro for your efforts.

  • @enamulhaque1338
    @enamulhaque1338 ปีที่แล้ว

    Awesome... You have cleared all concepts

  • @rainaveed438
    @rainaveed438 ปีที่แล้ว

    Really very helpful

  • @MohitChauhan-ve9jw
    @MohitChauhan-ve9jw ปีที่แล้ว

    really superb

  • @ashfannm7674
    @ashfannm7674 2 ปีที่แล้ว +1

    Thank you very much sir. very helpful

  • @QuotesAibyYatin
    @QuotesAibyYatin ปีที่แล้ว

    one of the best video for beginners !! thank you soo much bro

  • @engincelik7740
    @engincelik7740 ปีที่แล้ว

    Very useful video . Thanks

  • @charvisarang4803
    @charvisarang4803 ปีที่แล้ว

    This video is amazing to learn, thank u so much sir

  • @saoudiwalid
    @saoudiwalid 2 ปีที่แล้ว

    The best video out there addressing Angular routing, 30 mins full of information, Great Job Tarik and Keep it Up

  • @ninjatechstudio
    @ninjatechstudio 2 ปีที่แล้ว

    I need this video. Awesome Explained 👍

  • @ramanbhardwaj6855
    @ramanbhardwaj6855 2 ปีที่แล้ว

    thank you sir it help me a lot understanding the basic root and structure of an angular application

  • @sanmitsarkar2382
    @sanmitsarkar2382 ปีที่แล้ว

    Very helpful

  • @joaocorreiafreitas712
    @joaocorreiafreitas712 3 ปีที่แล้ว +1

    @TB thanks for this great Vídeo..short but provide very clear logic in routing management. Cheers

  • @namanjain2449
    @namanjain2449 3 ปีที่แล้ว +1

    Hi Tarique,
    Very usefull and informative tutorial.
    Thank you🙏

  • @ManishSharma-jz2hw
    @ManishSharma-jz2hw 2 ปีที่แล้ว +1

    Awesome.. Appreciate your efforts.

  • @KhushiParihar_Youtube_Channel
    @KhushiParihar_Youtube_Channel 2 ปีที่แล้ว

    Very helpful for Begginers . Great Quick start.

  • @sss3421
    @sss3421 2 ปีที่แล้ว

    Hi your explanation is very very nice. this is very very useful video

  • @uttamnandi124
    @uttamnandi124 2 ปีที่แล้ว

    Thanks for such an excellent tutorial.

  • @mosharofhossen9680
    @mosharofhossen9680 ปีที่แล้ว

    really very good tutorial. thank you so mush brother.

  • @simranmishra3776
    @simranmishra3776 ปีที่แล้ว

    Awesome video. Thankyou

  • @joeyvico
    @joeyvico ปีที่แล้ว

    A fantastic video! Thank you for your efforts

  • @thakurjaswantsingh148
    @thakurjaswantsingh148 2 ปีที่แล้ว

    best tutorial on angular rroutinng

  • @alexandrasimbolon3002
    @alexandrasimbolon3002 2 ปีที่แล้ว

    wow amazing tutorial sir

  • @Anuj_Kumar_1
    @Anuj_Kumar_1 2 ปีที่แล้ว

    thanks for this router video.....😊

  • @aaroncampos8948
    @aaroncampos8948 2 ปีที่แล้ว +1

    Thank you so much, you help me a lot

  • @simran-3181
    @simran-3181 2 ปีที่แล้ว +1

    Best explanation

  • @Viswanadhc
    @Viswanadhc 3 ปีที่แล้ว

    Best Way of explanation.

  • @nouchance
    @nouchance ปีที่แล้ว

    Amazing SIR!

  • @supersid-qt1mn
    @supersid-qt1mn 2 หลายเดือนก่อน

    Awesome buddy ❤❤

  • @ayush_patel534
    @ayush_patel534 2 ปีที่แล้ว

    Thanks for this information 👍😊

  • @poojapoojitha9114
    @poojapoojitha9114 2 ปีที่แล้ว

    Thank you so much for the video

  • @dev.maazqureshi
    @dev.maazqureshi ปีที่แล้ว

    clear and concise,..thanks!

  • @vijbca
    @vijbca 10 หลายเดือนก่อน

    Best video

  • @vietanho5262
    @vietanho5262 ปีที่แล้ว

    That's awsome video

  • @bazirakeeric7244
    @bazirakeeric7244 2 ปีที่แล้ว

    wao! a good video , it helps me at least

  • @sandeepsethy8943
    @sandeepsethy8943 ปีที่แล้ว

    Very informative and on point. keep up the good work brother.

  • @rajeshkumarramachandran6883
    @rajeshkumarramachandran6883 11 หลายเดือนก่อน +1

    Perfect demo

  • @Hacon30
    @Hacon30 2 ปีที่แล้ว

    Beautiful tutorial boss!!! Well done!!!

  • @rajeevprajapati5083
    @rajeevprajapati5083 2 ปีที่แล้ว

    eye opener

  • @shamavlogsnepal
    @shamavlogsnepal 2 ปีที่แล้ว

    Very easy to understand

  • @kisshore3853
    @kisshore3853 9 หลายเดือนก่อน

    Good tutorial and Explanation! thanks for the effort!! ❣

  • @danpride2804
    @danpride2804 2 ปีที่แล้ว

    Very well Done ! Thanks

  • @maheverse7223
    @maheverse7223 2 ปีที่แล้ว

    Actually desiging login page is the best way to clarify all doubt about routing and authentication

  • @CodeCatalyst
    @CodeCatalyst 2 ปีที่แล้ว

    amazing explanation

  • @jptechnoservice9013
    @jptechnoservice9013 2 ปีที่แล้ว

    Please post more about angular videos

  • @gowtham4383
    @gowtham4383 ปีที่แล้ว

    Thanks a lot 👍

  • @Viswanadhc
    @Viswanadhc 3 ปีที่แล้ว +1

    Really Hatsoff Bro

  • @rizwanshah6634
    @rizwanshah6634 3 ปีที่แล้ว

    great work brother, easy to understand
    keep it up

  • @trustyourself867
    @trustyourself867 2 ปีที่แล้ว

    all funtion are working perfectly.super video.and my suggestion form validation in used this program and more useful it.please add the formvalidation..otherwise all are very good.keep it top bro

  • @karamjitsinghsehdev3451
    @karamjitsinghsehdev3451 2 ปีที่แล้ว

    Nice Video Tarik.

  • @muhammadbilalnoor6003
    @muhammadbilalnoor6003 2 ปีที่แล้ว +1

    Thank You so much.

  • @pratikparmar346
    @pratikparmar346 2 ปีที่แล้ว

    Nice tutorial ....

  • @ranjit227
    @ranjit227 6 หลายเดือนก่อน

    Nice Video kindly make same in angular 17 version as soon as possible. Awaiting your video...............

  • @revtikale2546
    @revtikale2546 10 หลายเดือนก่อน

    awesome work!!!!!

  • @SetsunaKiryuKengan
    @SetsunaKiryuKengan ปีที่แล้ว

    Man's a Legend

  • @rohitkamble4769
    @rohitkamble4769 ปีที่แล้ว

    Thanks brother!

  • @indrajiths4826
    @indrajiths4826 2 ปีที่แล้ว

    Asome bro .. 👍

  • @DeepakKumar-gz7qv
    @DeepakKumar-gz7qv 2 ปีที่แล้ว

    Perfect

  • @srinivaspatnala696
    @srinivaspatnala696 2 ปีที่แล้ว +1

    Thank you so much bro

  • @ram_2211
    @ram_2211 2 ปีที่แล้ว

    Thanks a lot

  • @abhishekdutt1019
    @abhishekdutt1019 2 ปีที่แล้ว

    appericable very nice dude

  • @chrisventer6490
    @chrisventer6490 2 ปีที่แล้ว

    Thank you.

  • @ashutoshbisoyi8074
    @ashutoshbisoyi8074 2 ปีที่แล้ว

    thanks. this helped

  • @ReejohnStellas
    @ReejohnStellas 2 ปีที่แล้ว

    Thank you

  • @hmzza1
    @hmzza1 2 ปีที่แล้ว

    Great

  • @aktech9006
    @aktech9006 2 ปีที่แล้ว

    tysm sir this helped me a lot 🤩😇

  • @MomLifeJournal
    @MomLifeJournal 8 หลายเดือนก่อน

    Thank you ..

  • @gouthamshiv
    @gouthamshiv 2 ปีที่แล้ว

    instant like and subscribe
    amazing content!!

  • @abdulrenishr
    @abdulrenishr 10 หลายเดือนก่อน

    Awesome bro

  • @kppranave2682
    @kppranave2682 2 ปีที่แล้ว

    This is Gem