
Explore how Angular differs from other frameworks and why it adopts convention over configuration for large enterprise apps. Walk through every file to understand its structure and features.
Install the Angular CLI to streamline configuring tools like Webpack, Babel, Sass, and TypeScript, then build, serve, test, and deploy your app with ng commands and help.
Learn how to upgrade an Angular app to the latest version with a painless process, using a single command to migrate from version 17 to 18 and follow official guidance.
Learn how to create a new Angular application using the ng new command, review help options, name the project, answer CLI prompts, and test the server after installation.
start the development server with ng serve or npm start to preview your angular app locally at localhost:4200, with live reload and built-in debugging.
Review the starter files generated by the Angular CLI to understand project structure, including editor config, git ignore, angular.json, tsconfig, and package.json, and how root configuration guides build and development.
explore the main entry file, main.ts, and how it bootstraps angular and your app by loading the framework before your code; see the blank page when the file is cleared.
Compare just-in-time and ahead-of-time compilation in Angular, and learn why AOT is usually preferred for better performance.
Bootstrap your Angular app with bootstrapApplication and the appComponent, using the browser platform from platform-browser to ensure Angular loads before your code, and note that routing is covered later.
Explore how components act as custom HTML tags in Angular, letting you render content, render other components, and implement behaviors from simple text rendering to user authentication.
Create your first Angular component by exporting AppComponent, applying the Component decorator with selector and template, and setting standalone true, then bootstrap it as the root in main.ts.
Explore how to organize Angular components by separating HTML from the component class, using template URL and style URLs, and apply the MVC model, view, and controller roles.
Review the final source files, create an assets folder for static files that copy into the build, and set global styles in styles.css separate from component styles.
Learn how TypeScript, a superset of JavaScript, adds static typing to improve developer experience, catch data type errors, and better manage variables and functions in Angular projects.
Install a TypeScript compiler and compile TypeScript to JavaScript to run in the browser or node. Rename a file to .ts and use npx tsc to produce a .js file.
Explore type annotations in TypeScript, annotate function parameters and return values to enforce numbers, catch type errors during compilation, and understand how this improves debugging before running in the browser.
Annotate variables in TypeScript with a colon and a data type, as shown in variables.ts for myName, string. Type inference assigns types from initial values, and unannotated parameters become Any.
Learn how union types in TypeScript let variables hold multiple data types, such as string or null, and apply them to functions, return values, arrays, and objects.
Annotate arrays and objects in TypeScript with explicit types such as string[] and (string|number)[], explore type inference, avoid any, and understand error hints for invalid annotations.
Learn to apply types to an object in TypeScript, using type inference, explicit annotations, optional properties like status, and combining arrays of accounts with interfaces.
Use interfaces to define object types in TypeScript and clean up annotations, creating an interface like IAccount with optional deposit returning void, and apply it to arrays for cleaner code.
Learn how classes function in JavaScript and TypeScript within Angular, using interfaces like IAccount, implements, constructors, public and private modifiers, and practical patterns such as withdraw.
Explore generics in Angular, using a type parameter T to create a reusable class that stores a typed collection with add and remove methods, enforcing string or number constraints.
Explore decorators, an experimental TypeScript feature for next-generation JavaScript. Apply them to classes, properties, methods, and parameters, and compare to higher-order components, composables, and closures in Angular.
Use npx tsc init to generate tsconfig.json, then set target to es2022 to enable stage 3 decorators and maintain backward compatibility with stage 2.
Learn how to create and apply a TypeScript decorator to menu item classes, assign ids, and extend class behavior in Angular projects.
Learn how Angular signals add reactivity to components by tracking variables with the signal function and rendering updates through template expressions and interpolation.
Bind class properties to template attributes with property binding to dynamically load an image via the ImageUrl property and the signal function, updating through change detection.
Learn Angular event binding in templates, use keyup to update an image URL from input, and move logic to the component with property and event bindings.
Explore how TypeScript's strict typing makes the value property seem missing on Event.target, and fix it with type assertion (as HTMLInputElement) to safely access input values.
Create a new component with the Angular CLI using ng-generate-component, organize components in a tree with a root App component, and learn file structure (class, template, style, test) and imports.
Learn to render an image inside a reusable Post component by passing data from a parent component, using the PostImage input and property binding with AppPost.
Make the post image a required input in Angular using input.required, ensuring the postImage attribute is provided. The lecture explains error handling when inputs are missing.
Learn how to enable child-to-parent communication in Angular by emitting custom events with outputs, using inputs for data, and applying type-safe string payloads like image URLs.
Explore content projection in Angular by adding caption content to a post component using ng-content, enabling parent-to-child HTML transfer and flexible templates.
Explore Angular lifecycle hooks, from constructor to ngOnInit, and see how implementing the onInit interface helps catch typos and manage data binding with parent components.
Explore Angular's less common lifecycle hooks, including ngOnChanges and ngDoCheck, while contrasting content and view lifecycles and showing when to use ngAfterContentInit, ngAfterViewInit, and ngOnDestroy.
Explore how Angular scopes component styles to prevent global impact, using component css versus global styles, encapsulation with unique selectors, host pseudo-selector, and content projection in templates.
Learn how pipes transform values in templates with reusable, component-independent functions that don't change the original data; use a pipe to display currency without altering the class price.
Explore Angular pipes, including built-in and custom options, with practical steps to import and apply the Title Case Pipe from angular-common, transform text without mutating data, and review documentation.
Explore Angular DevTools, an official debugging extension, to inspect component properties, modify them in real time, and verify that pipes affect template output but not class values.
Learn how to customize pipe output with parameters using the Date pipe to format Date objects in templates, via DatePipe and placeholders or predefined formats.
Learn to format numbers with the currency and decimal pipes in angular, adding currency symbols, removing decimals when needed, and using ISO 4217 codes like JPY.
Debug Angular apps with the json pipe by displaying objects in the template; import from the Angular Common module and render a pizza object with toppings and size.
Discover how using a pipe aids debugging in your Angular app and remember its role while understanding directives. Look ahead to the next lecture on transforming content.
Explore how the ng-class attribute directive toggles element classes to dynamically change styles. Toggle a blue class with a button to switch background to blue and text to white.
Explore the ng-style directive to dynamically bind css properties via the style attribute, demonstrating font-size binding from a component property to update a button, with multi-word property handling and units.
Discover how Angular 18 blocks enable dynamic rendering with the if block, showing or hiding HTML based on a boolean condition and ensuring CSS integrity by removing the block automatically.
Use the Angular for block to loop through an array in templates, outputting items such as images or posts with index and unique trackers.
This course includes content generated with the assistance of artificial intelligence (AI).
Are you looking to learn Angular and build modern, scalable web applications from scratch? This course is designed to take you from a complete beginner to a confident Angular developer using real-world concepts and hands-on practice.
In this Angular crash course, you’ll start by understanding the fundamentals of frameworks and how Angular works under the hood. You’ll then quickly move into creating your own Angular applications using the Angular CLI, exploring project structure, configuration files, and how Angular boots your app.
We also cover TypeScript in depth, giving you the essential knowledge you need to work efficiently with Angular. You’ll learn about types, interfaces, classes, generics, and decorators—everything required to write clean and maintainable code.
As you progress, you’ll master core Angular concepts such as components, data binding, signals, directives, pipes, and lifecycle hooks. You’ll also learn how to structure your applications properly and debug them using Angular DevTools.
Finally, you’ll apply everything you’ve learned by building a real-world project step by step, helping you gain practical experience and confidence.
By the end of this course, you will be able to build your own Angular applications, understand advanced concepts, and continue your journey as a professional front-end developer.
This course is perfect for beginners and developers who want to quickly learn Angular in a clear, structured, and practical way.