Angular Interview Questions You Should Know

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • In this video I want to share with you Angular interview questions you should know if you want to pass an interview as an Angular developer. We will talk about how angular works, what it's pros and cons, aot compilation, dependency injection, lifecycle hooks, observables vs promises, sharing data between components and much more.
    TIMESTAMPS
    0:00 Introduction
    0:15 How angular application works?
    01:02 Angular pros and cons
    02:57 AOT compilation
    04:31 What is Angular dependency injection?
    05:32 What are Angular lifecycle hooks?
    06:33 Observables and promises
    07:23 Sharing data between components
    08:11 Components vs directives in Angular
    08:48 Async pipe in Angular
    09:12 Angular Ivy
    ► CHECK MY COURSES - monsterlessons-academy.com/co...
    FOLLOW ME
    ► TWITTER - / monster_lessons
    RECOMMENDED VIDEOS
    ► My editor setup for web development - • Best Text Editor for W...
    ► Angular Tutorial for Beginners - • Angular Tutorial for B...
    ► Vue JS Crash Course - • Vue JS Crash Course fo...
    ► React Hooks Full Course - • React Hooks Tutorial f...
    ► Typescript Course for Beginners - • Typescript Crash Cours...
    ► Build a Todo App with Angular - • Build a Todo App With ...
    ► Creating custom select library - • Custom Javascript Drop...
    ► HTML Price comparison - • Practice CSS and HTML ...
    ► How to build Quiz with React hooks - • How to Build a Quiz Wi...
    MY COURSES
    ► NestJS course - • Nest JS Project From S...
    ► Docker + Docker compose course - • Docker Compose Tutoria...
    ► Angular + NgRx course - • Angular Course 2021 - ...
    ► Vue + Vuex course - • Vue Course With Projec...
    ► React hooks course - • React Hooks tutorial b...
    Disclosures: All opinions are my own. Sponsors are acknowledged. Some links in the description are affiliate links that if you click on one of the product links, I’ll receive a commission at no additional cost to you.

КОМЕНТАРІ • 61

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  2 роки тому +2

    Learn 5 most popular mistakes in Angular and avoid them - ua-cam.com/video/ejjln8hI14M/v-deo.html

  • @__meilleur
    @__meilleur Рік тому +55

    Me panic watching this 30 minutes before my interview

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Рік тому +11

      Imho any learning before the interview is useless. You need to go with the knowledge that you have and processed.

  • @AndreyKarpovich
    @AndreyKarpovich 27 днів тому +2

    Inacuraccy on 6 min: the first implemented hook during comp creation (after class constructor) is ngOnChanges, it could grab inputs if comp has. After that ngOnInit
    In the question about data-sharing are missed event emmiters (from child to parent components) and also we can pass some data when routing between components + with usage of injection tokens

  • @d.bachmann6798
    @d.bachmann6798 Рік тому +4

    Have watched several videos with this Author (name?). This is something real high quality. I am an experienced programmer and have even worked with Angular for some time and still this was very much worth watching. He has a God given talent of making coding videos.
    This series should have 1000s of likes.. really amazing well explained . Very well edited everything is not too long and not too short.. It is a real pleasure to watch and learn from. Also by following these videos you pick up good coding practices with an understanding of why!

  • @gsacul1434
    @gsacul1434 2 роки тому

    Noted everything, great stuff thank you!!

  • @LunarWaffle
    @LunarWaffle 2 роки тому

    Thanks , Alexander I love your videos ❤️ ty for such great bangers

  • @crickey.
    @crickey. 2 роки тому

    Great video, concise and to the point

  • @anacseq
    @anacseq 2 роки тому

    Another awesome video, thanks!

  • @user-fl3qk7qp9n
    @user-fl3qk7qp9n 2 роки тому

    Than you for all your educational content, it hepled me a lot!!!

  • @mauricearida9001
    @mauricearida9001 2 роки тому +2

    let's grow this channel come on people !on it

  • @BGivo
    @BGivo 2 роки тому +1

    Thank you. This was really helpful.

  • @mikhailratner4649
    @mikhailratner4649 Рік тому +1

    Very informative, thanks!

  • @Ezvalt
    @Ezvalt Рік тому +3

    As a junior dev, I find this video extremely helpful and super easy to understand, thank you for that. Great job!

  • @eva_space
    @eva_space Рік тому

    Your pronunciation is amazing. I can improve my English and Angular level at the same time. Thanks a lot!!!

  • @user-gd7gy7st4l
    @user-gd7gy7st4l Рік тому

    Я angular разработчик и я записался на курсы английского специально чтобы смотреть тебя, очень полезный контент делаешь)

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Рік тому +1

      Отличная идея, имхо хороший английский важнее чем хороший уровень программирования. Приятного просмотра!

  • @sergeymigel4680
    @sergeymigel4680 10 місяців тому

    Thank you!

  • @vijayansivaraman7923
    @vijayansivaraman7923 2 роки тому

    Very informative video, Can you pls post creation of simple project using angular covering all topics and what's new in angular latest verison ?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 роки тому

      I have a full course about creating a real project using Angular and NgRx and it covers all topics to do that.
      monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch

  • @hamza201183
    @hamza201183 2 роки тому +2

    Hi Oleksandr, what would you recommend for testing big enterprise Angular apps? Jest or Karma?
    Which one suits well for integration testing and for CI/CD? (I use Jenkins but as a backend developer).
    Thanks for the video.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 роки тому +1

      Hi Hamza, I normally use only Jest. It has more features, more often updated, faster because it doesn't use real browser.

    • @hamza201183
      @hamza201183 2 роки тому

      @@MonsterlessonsAcademy Many thanks for the reply! Ok I'll check that.

  • @zlozlozlo
    @zlozlozlo 2 роки тому +4

    Hey man, amazing video! One bit of feedback, for question 6 (and 9) you seem to conflate the terms observable and stream, and then you say stream where I think you mean observable. Streams and observables are pretty similar, but there are crucial differences between the concepts.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 роки тому +3

      Hi, I think you are right. I rechecked my knowledge with google.
      In RxJS we don't have streams like in Java at all. And yes there is a bunch of differences between stream and observable if we compare rxjs observable and java stream.

    • @javi5296
      @javi5296 Рік тому

      This shouod be pinned. Anyway, nice vids, just subscribed!

  • @nagendradevara1
    @nagendradevara1 2 роки тому +1

    Great video , Can you please make video on Writing Reusable code in Angular and other advanced topics in Angular

  • @tarasshevchuk8477
    @tarasshevchuk8477 Рік тому

    Very nice !!!

  • @guicercal
    @guicercal 2 роки тому

    Amazing content!! you earn a new subscriber!
    just a small observation 7:02 i guess you mean: "... it's not triggered once like a PROMISE"

  • @gabrieldelosrios811
    @gabrieldelosrios811 Рік тому +3

    Hi Oleksander I came to this video because I'm about to have a test about angular, I think you have made a mistake when listing the components lifecycle methods as for what I know (and I have experimented) ngOnChanges runs even before ngOnInit, I think it is because that way it can know the inputs we are passing to the component before mounting it, maybe I'm mistaken but I'm almost sure thats how it works, greetings and thanks for all your amazing videos 👍

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Рік тому +1

      Hi Gabriel, you are totally right. ngOnChanges is called even before ngOnInit.

    • @SilviuIT-tn3dn
      @SilviuIT-tn3dn 10 місяців тому

      Hi Gabriel. how was your test? can you share it with us? What questions, expectations? What salary offer? and so on

  • @AbdulRahman-wg1dd
    @AbdulRahman-wg1dd Рік тому

    In Angular life cycle hook topic, ngOnChanges executes first. Only after that ngoninit.

  • @gigakvachakhia4777
    @gigakvachakhia4777 2 роки тому +1

    still waiting for that nestjs angular combination course xDD

  • @sureshsuresh-xk5bi
    @sureshsuresh-xk5bi Рік тому

    hi sir,
    due to some backlogs i'm relaeaved in 2020, now i want to learn angular course, and trying to jobs as a fresher is it possible or not

  • @jynxycats
    @jynxycats Рік тому

    06:35 Promises also have to complete, whereas an Observable can be unsubscribed to when you maybe no longer care about the result.

  • @nazar9796
    @nazar9796 2 роки тому

    top

  • @moomoomamoo
    @moomoomamoo Рік тому +1

    The majority of the answers to these questions are incredibly poorly answered. Half of the stuff said is incorrect. Please only take the questions from these videos and look for other resources for answers

  • @ml_serenity
    @ml_serenity 23 дні тому +1

    Sorry, but if I was your interviewer and you were answering questions like that for any position higher than junior, you'd not pass it. For example, JIT is NOT transpiling TS in the browser.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  23 дні тому

      Loading in JIT is slower than the AOT because it needs to compile your application at runtime. Loading in AOT is much quicker than the JIT because it already has compiled your code at build time.
      This is the quote from official website.