CanActivate Route Guard - Angular (Tutorial #24)

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 69

  •  5 месяцев назад

    Unfortunately I have just one like button or else I would have liked million times to this playlist for such an easy explanation.

  • @arvindkumarchaurasia8237
    @arvindkumarchaurasia8237 2 года назад +3

    A very simple and straight forward way of explaining, well done ✌✌

  • @kajalamalla8019
    @kajalamalla8019 4 месяца назад

    I love the way of teach is very familiar to me ,your my coding god

  • @myvue4587
    @myvue4587 4 года назад +2

    Awesome video, after a long time........ still we are waiting for upcoming videos......thank you so much for helping angular developers by making videos

  • @rahulrahul6259
    @rahulrahul6259 Год назад

    A very simple and great way of explaining things

  • @konadeepak9443
    @konadeepak9443 4 года назад +2

    Hi Nisha, please try to make complete Angular topics and upload. The way of your presentation is very much understandable to every one. Thank You.

    • @NishaSingla
      @NishaSingla  4 года назад

      thanks. I will try to upload more topics

  • @RZ009
    @RZ009 3 года назад +1

    More power to you !!!

  • @pavandixit442
    @pavandixit442 4 года назад +4

    I love the way You Explain

  • @mannumahto8160
    @mannumahto8160 3 года назад +2

    Great explanation

  • @priyankaravichandran851
    @priyankaravichandran851 4 года назад +3

    well explained , really awesome , can you please upload more about the routers , other more concepts , ES6 FEATURES

  • @shraddhamarathe1444
    @shraddhamarathe1444 6 месяцев назад

    Awesome explanation. very crisp and clear. :) Thanks !! I just have one doubt that can we also pass parameters to guards ??

  • @boddulasrikanth6047
    @boddulasrikanth6047 3 года назад +1

    Thank you for clear explaination :)

  • @nickoletan
    @nickoletan 3 года назад +1

    Thanks, you save my life

  • @bachubrahmam3811
    @bachubrahmam3811 4 года назад

    Thank you so much . It was clean and understabl.

  • @lokeshnallapureddy7208
    @lokeshnallapureddy7208 4 года назад +1

    Thankyou soo much nisha ma'am for updating this video on my request soo early and I can't know wt can I say more than thankyou

    • @NishaSingla
      @NishaSingla  4 года назад +1

      My pleasure 😊 Keep Learning

  • @TechAahar
    @TechAahar 4 года назад

    Really awesome and well explained , Thank you for sharing with us.

  • @IqbalAhmed-qk5ix
    @IqbalAhmed-qk5ix 4 года назад +1

    Awesome
    superb
    Thank u so much mam

  • @jeckyanand717
    @jeckyanand717 4 года назад +1

    Thank you for this video. My angular learning was kind of stuck in middle because your angular playlist is very basic and incomplete.
    Pleaseease update this. People like me is waiting badly.

    • @NishaSingla
      @NishaSingla  4 года назад

      I will try my best to complete this series. Thanks for liking.

    • @Jacks7468
      @Jacks7468 4 года назад

      @@NishaSingla Please update the playlist of your angular tutorials with the latest version and changes

  • @31sar
    @31sar 3 года назад +2

    Please make videos for Angular projects

  • @Stylehackswithpal
    @Stylehackswithpal 2 года назад +1

    Hey, Could you please make video on NgModules concept, Mock Interview Questions. It would be a great help. Because I am like fun of your teaching way and learning a lot from you. Thank you so much for videos.

  • @shitalunde9528
    @shitalunde9528 8 месяцев назад

    Hello, your video's are really helpful. Thank you so much for this great job. Can you please make series on ngRx please it's request And thanks in advance

  • @kalladhamodar4989
    @kalladhamodar4989 3 года назад +1

    Hii ur explantion is awesome,,, is services are compulsary link on providers(modules.ts)?

  • @ankitg2361
    @ankitg2361 4 года назад +1

    CanActivate is not holding till http api response ...so could u help how do we hold till response

  • @NishaSingla
    @NishaSingla  4 года назад +1

    *Watch these videos as well*
    👍
    Routing: ruclips.net/video/E8QOJ822Ta4/видео.html
    Nested Routing: ruclips.net/video/JfNLM0hq_uk/видео.html
    Named Router Outlet: ruclips.net/video/ev6z6B3GVlw/видео.html

  • @kyleryxn
    @kyleryxn 2 года назад

    In which video of yours do you go over JWT tokens?

  • @abhinaygalipally9100
    @abhinaygalipally9100 Год назад

    Hi Nishna Singla can you expalin after sucessful authentication when am trying to hit /login,/register i should not navigate to login ore register can i know the solution

  • @SalmanAli-gd3tm
    @SalmanAli-gd3tm 2 года назад

    Awesome video very helpful for me And I am waiting for realtime project. And when will you start realtime project any class or video ?

  • @Aaaaa_kkkk
    @Aaaaa_kkkk 4 года назад +1

    Thank you so much very helpful

  • @anshvarun653
    @anshvarun653 4 года назад

    Thank you!!! Saved my day :)

  • @mahavirsinhpadhiyar864
    @mahavirsinhpadhiyar864 4 года назад +1

    Can we hide the menu navigation using canActivate? I have used the same in my application but I have to refresh the page to see the effect after logout.

    • @NishaSingla
      @NishaSingla  4 года назад

      Can you please explain a bit your requirement, where exactly you need this ?

    • @mahavirsinhpadhiyar864
      @mahavirsinhpadhiyar864 4 года назад +2

      @@NishaSingla What I am asking is can we show and hide the Menu bar according to isActivate function so no need to show if it is not allow.

    • @NishaSingla
      @NishaSingla  4 года назад +1

      @@mahavirsinhpadhiyar864 Ideally Guards are meant to use to control route accessibility . But you can try by setting any flag (using any global state or localStorage) which can be set in canActivate Method so that Menu can toggle as per the value set in this function.

    • @mahavirsinhpadhiyar864
      @mahavirsinhpadhiyar864 4 года назад +1

      @@NishaSingla ok thank you so much

    • @NishaSingla
      @NishaSingla  4 года назад

      @@mahavirsinhpadhiyar864 You're welcome

  • @bharathgorental4928
    @bharathgorental4928 3 года назад

    this is awesome, but Can you please tell me If I want to restrict a user from a specific HTML element / typescript method/ function inside the component(some functions/ elements should be accessible but some should not), thank you.

  • @surabhisahu1231
    @surabhisahu1231 Год назад

    Hello mam how can I pass user object to isLoggedIn() method as an argument?
    When I am doing that in auth.ts file it will showing some error please help me maam

  • @Sharwankumar-rz4ft
    @Sharwankumar-rz4ft 4 года назад

    good work

  • @_falgunip
    @_falgunip 9 месяцев назад

    what if we hit localhost:4200/users directly from address bar?

  • @ABHISHEKKUMAR-ne3rk
    @ABHISHEKKUMAR-ne3rk 4 года назад +4

    Pls,make video on angular login with jwt token

  • @kushalbaldev8490
    @kushalbaldev8490 4 года назад

    If we move back in browser after logout we are able to move back to previous page.
    PS I clear every data while one clicks logout.

  • @Sandeep-lb7wb
    @Sandeep-lb7wb 4 года назад +1

    Can I expect videos on all lifecycle hooks and router events

    • @NishaSingla
      @NishaSingla  4 года назад

      I will upload videos on these topics soon. Thanks

  • @vishalpal8957
    @vishalpal8957 3 года назад

    i have two doubts i hope you will see this comment and reply soon
    1: if you have already added injectable ({ providedIn: 'root' }) then it is not necassary to add it in the app module as per my knowledge then why did u do that?
    2: what is the use of the properties which "canActivate" consists the Activatedroutesnapshot and the Routestatesnapshot. cause as far as i know they are also very important i do not know why yet but i read this somewhere.

  • @manojnandhan8677
    @manojnandhan8677 4 года назад +1

    Thanks

  • @pardhasaradhinaidu602
    @pardhasaradhinaidu602 4 года назад +2

    We want angular jwt authentication in deep

    • @NishaSingla
      @NishaSingla  4 года назад +1

      I will try to upload it soon. Thanks

  • @CristianRomero-up1nj
    @CristianRomero-up1nj 4 года назад

    put a example condition plz

  • @muralimanohar2514
    @muralimanohar2514 4 года назад

    please make more tutorials

  • @jayakumar2927
    @jayakumar2927 4 года назад

    Good one can you share the code