Ads skipped

Angular Crash Course

1.6M views · May 6, 2021 · Science & Technology

Comments · 1.5K

  • @lvm_azn · 2 years ago (edited)

    <a href="https://www.youtube.com/watch?v=3dHNOWTI7H8&amp;t=1588">26:28</a> &nbsp;Had issues with the [ngStyle] attribute<br>I did instead:<br>[style.background-color]=&quot;color&quot;<br><br>- Update, also just learned that the default mode for components is standalone now. Which means whenever he is going to the app.module.ts to import something, just import it to the component you need it in. standalone = modules are for only that component.

    12

  • @UsmanTheDev · 5 years ago

    Today i got my first job due to your courses. Love and respect for you from pakistan

    1.6K

  • @3pleFly · 4 years ago

    If you have the error where your variables have not been initialized = that&apos;s because typescript requires you to initialize your variables similiar to strongly typed languages. While you should have a default value set and work with this feature to really utilize typescript, for this small &apos;project&apos; you could just put an exclamation mark before your variables and it will let you leave them uninitialized, for example: &nbsp; &nbsp;subscription!: Subscription; &nbsp; or &nbsp; @Input() task!: Task;

    195

  • @jmarcetaa · 4 years ago

    If you got an error on <a href="https://www.youtube.com/watch?v=3dHNOWTI7H8&amp;t=1540">25:40</a> minute, add ! after value like this: @Input() text!: string;

    3

  • @sheep4484 · 2 years ago

    Angular 11 was used in this video, so it&apos;s best to have that version installed if you want to follow this tutorial.

    1

  • @damienquamme4903 · 3 years ago (edited)

    If you&apos;re using Angular 17, you do have to import the component, at least I had to in order to get this to work. Example below:<br>app.component.html<br><br>import { Component } from &apos;@angular/core&apos;;<br>import { CommonModule } from &apos;@angular/common&apos;;<br>import { RouterOutlet } from &apos;@angular/router&apos;;<br>import { HeaderComponent } from &apos;./components/header/header.component&apos;;<br><br>@Component({<br> &nbsp;selector: &apos;app-root&apos;,<br> &nbsp;standalone: true,<br> &nbsp;imports: [CommonModule, RouterOutlet, HeaderComponent],<br> &nbsp;templateUrl: &apos;./app.component.html&apos;,<br> &nbsp;styleUrls: [&apos;./app.component.css&apos;]<br>})<br>export class AppComponent {<br> &nbsp;title = &apos;angular-crash&apos;;<br>}

    56

  • @Sondly · 4 years ago

    Hey, just thought I would drop this comment down if anyone is struggling with the dblclick to toggle tasks.<br><br>For like a good 30 minutes of fiddling (and another few hours of just wondering why it wasn&apos;t working), I realized when (in Chrome) and you have inspect open, you can&apos;t double click.<br>The green bar on the side wasn&apos;t popping up and I was curious as to why.<br>Did some googling and found out that dblclick isn&apos;t something mobile devices can do. There is a work around if you google &quot;angular dblclick not working&quot;<br><br>Hope this helps someone. No, your code isn&apos;t wrong. It just doesn&apos;t work when you are inspecting the page since it acts like the page is being displayed on a mobile device.

    3

  • @darrenjosiah9246 · 4 years ago

    If you encounter error at <a href="https://www.youtube.com/watch?v=3dHNOWTI7H8&amp;t=1548">25:48</a>, the solution is:<br><br> &nbsp;@Input() text!: string;<br> &nbsp;@Input() color!: string;

    2

  • @rohitpurkait6951 · 5 years ago (edited)

    If you are using the latest version of ts then make sure to declare your variables in the constructor otherwise it will throw an error.<br><br>You can also use an ! sign after the variables. For example, @Input task!: Task;

    521

  • @hashanhemachandra4071 · 4 years ago

    Thanks so much Brad. Thanks to this tutorial, I got my first job as a Software Engineer. Your life story is so inspiring and motivated me in my journey. I was a mechanical engineer and with so much hard work, I was able to shift my career. And on that journey, you played a most crucial role. May gods blessings be with you every day. Love and Respect form Sri Lanka ❤️

    24

  • @yabokutvji4717 · 2 years ago

    In case anybody wonders why you dont have a app.module.ts file: <br>In the past the command ng new my-app created a module based app as default. <br>But now since angular v17, a standalone (not module based) app is created as default. <br>To have a module based app with the app.module.ts file like in the video, you have to use the following command instead:<br>ng new my-app --no-standalone

    3

  • @faz_ed · 1 year ago

    Can you please create an angular crash course for the newer version?

    5

Up next

LIVE

Node.js Crash Course

Traversy Media · 669K views

LIVE

Learn Angular A-Z: Complete Tutorial for Beginners

Envato · 320K views

LIVE

Claude Code Crash Course For Developers

Traversy Media · 366K views

LIVE

The Modern Angular Crash Course - 2022

Laiture · 117K views

LIVE

Angular 101 Crash Course For Beginners: Learn Angular Fundamentals (4 HOURS!)

Zero To Mastery · 45K views

LIVE

MCP Crash Course: Everything You Need to Know

Traversy Media · 50K views

LIVE

Angular Interview Questions and Answers | Angular Interview Questions | Top Angular Questions

Questpond · 1.2M views

LIVE

Angular Tutorial for Beginners 2026 - Zero to Interview Ready | Angular 21

Interview Happy · 130K views

LIVE

Learn Angular in 2 HOURS - Ultimate Crash Course - 2026 Edition!

Karpado · 8.1K views

LIVE

Git & GitHub Crash Course 2025

Traversy Media · 330K views

LIVE

AI Is Moving Faster Than We Think. Here’s What That Means. | Former Google SVP Vic Gundotra

American Thought Leaders - The Epoch Times and The Epoch Times · 72K views

LIVE

Elon Musk on Why the Future Should Make You Glad to Be Alive | TomorrowX Summit

iConnections · 462K views

LIVE

Schurken-Gipfel: Trump und Xi bieten Putin die große Bühne | heute-show vom 20.11.2026

ZDF heute-show · 2M views

LIVE

Angular Tutorial for Beginners: Learn Angular & TypeScript

Programming with Mosh · 4.9M views

LIVE

Angular 12 Crash Course - 2021 - Become Angular Developer in 3 Hours

Awais Mirza · 206K views

LIVE

React Crash Course

Traversy Media · 1.1M views

LIVE

War die Rally nur ein technischer Bounce?

Markus Koch | Wall Street · 11K views

LIVE

Spring Boot Full Stack and Angular | Full Course

Amigoscode · 938K views

LIVE

React Native Expo & Supabase: Full Auth & CRUD Tutorial

AmirDevStudio · 881 views

LIVE

Angular Crash Course for beginners | Learn Angular in 90 Minutes

Code with Ahsan · 874K views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.