8396  Reviews star_rate star_rate star_rate star_rate star_half

Comprehensive Angular Programming

This Angular training teaches learners how to build modern, robust web applications, taking them from the fundamentals to advanced Angular techniques. After completing this course, learners...

Read More
$2,995 USD
Duration 5 days
Course Code WA3446
Available Formats Classroom

Overview

This Angular training teaches learners how to build modern, robust web applications, taking them from the fundamentals to advanced Angular techniques. After completing this course, learners confidently develop sophisticated and efficient web solutions. The course begins with Angular fundamentals and the essentials of TypeScript, laying a solid foundation for subsequent topics. Learners then dive into component creation, data flow, UI development, inter-component communication, forms (template-driven and reactive), services/DI, HttpClient, pipes, and routing. This course then goes beyond basic component creation and into the intricacies of advanced routing, strategic use of NgModules alongside standalone components, and powerful reactive programming with RxJS. Learners gain in-depth knowledge of lazy loading, route guards, and nested routing, as well as understanding when and how to leverage NgModules for structuring larger applications. In addition, the course covers comprehensive unit testing strategies using tools like Jasmine and Karma/Jest, covering components, services, and asynchronous code.

Skills Gained

  • Explain Core Angular Concepts and Utilize the CLI
  • Set up a complete Angular development environment
  • Program using TypeScript
  • Work with Angular CLI
  • Create Standalone Components, Directives, Services, Pipes, Forms and Custom Validators
  • Implement Data Binding and Template Control Flow
  • Leverage Angular Signals for Reactivity
  • Facilitate Inter-Component Communication
  • Build Forms with the Template-Driven and Reactive Approaches
  • Utilize Services and Dependency Injection (DI)
  • Integrate with REST APIs using HttpClient
  • Understand and work with Observables
  • Work with Angular Pipes to format data
  • Implement Basic Client-Side Routing
  • Develop single page Angular applications
  • Implement Advanced Routing Scenarios
  • Manage Observable Subscriptions and State
  • Master RxJS for Reactive Programming
  • Write Comprehensive Unit Tests for Angular Applications
  • Mock Dependencies and Test Angular Specifics
  • Effectively Debug Angular Applications
  • Analyze and Resolve Common Angular Errors
  • Apply Best Practices for Advanced Angular Development
  • Strategically Utilize NgModules
  • Integrate Standalone Components with NgModules

Prerequisites

Students should understand HTML structure, CSS styling, and fundamental JavaScript concepts. General knowledge regarding browser-based application and back-end data servers is useful.

Course Details

Introducing Angular

  • What is Angular?
  • Central Features of the Angular Framework (Highlighting Signals and Standalone Architecture)
  • Appropriate Use Cases
  • Angular Building Blocks
  • Standalone Component Architecture
  • Components, Directives, Pipes and Services
  • NgModule Based Architecture
  • Installing and Using Angular (CLI)
  • Angular Example - with Standalone Component
  • Running the Application
  • Building and Deploying the Application

Introduction to TypeScript

  • Angular and TypeScript
  • TypeScript Syntax
  • The Type System - Defining Variables, Arrays, Primitives
  • Type in Functions, Type Inference
  • Defining Classes (Constructors, Methods, Visibility)
  • Interfaces
  • Working with ES6+ Modules
  • let vs const (replacing var)
  • Arrow Functions
  • Template Strings
  • Generics

Standalone Components

  • What is a Component?
  • Creating Standalone Components
  • The Component Class
  • The @Component Decorator
  • Component Templates (Inline vs External)
  • Using a Component within another Standalone Component
  • Component Hierarchy
  • The Application Root Component (Standalone Bootstrap)
  • Component Lifecycle Hooks
  • CSS Styles and Encapsulation

Component Templates & Control Flow

  • Templates and Data Binding
  • Interpolation {{ }}
  • Property Binding [ ]
  • Attribute Binding [attr.]
  • Class Binding [class.] & Style Binding [style.]
  • Event Binding ( )
  • Two-Way Binding [(ngModel)] (Requires FormsModule or ReactiveFormsModule)
  • Control Flow Syntax
  • Conditional Rendering: @if, @else if, @else
  • List Rendering: @for (with track requirement)
  • Switching Logic: @switch, @case, @default
  • Template Reference Variables (#var)
  • The ng-template, ng-container elements (Use cases beyond basic control flow)
  • Attribute Directives (ngClass, ngStyle - imported standalone or via CommonModule)
  • Structural Directives

Angular Signals & Reactivity

  • Introduction to Angular Signals
  • What are Signals? Why use them?
  • Creating Writable Signals (signal())
  • Reading Signal Values
  • Updating Signals (set(), update())
  • Computed Signals (computed())
  • Creating Derived State
  • Lazy Evaluation and Memoization
  • Effects (effect())
  • Running Side Effects in Response to Signal Changes
  • Cleanup Logic (manualCleanup, DestroyRef)
  • Signals in Components (OnPush change detection interaction)
  • Using Signals for Inter-Component Communication (Alternative/Supplement to Input/Output)
  • RxJS Interoperability (if needed)

Inter-Component Communication

  • Data Flow Architecture (Parent-to-Child, Child-to-Parent)
  • Parent-to-Child: @Input() Decorator
  • Child-to-Parent: @Output() Decorator with EventEmitter
  • Using Template Reference Variables for Interaction
  • Communication via Services (Shared State)
  • Communication via Signals

Template-Driven Forms

  • Introduction to Template-Driven Forms
  • Importing FormsModule (into standalone component or module)
  • Setting Up a Form (ngForm)
  • Getting User Input (ngModel)
  • Two-Way Data Binding ([(ngModel)])
  • Form Validation (Built-in validators: required, minlength, etc.)
  • Displaying Validation State and Errors (ngControl status classes)
  • Handling Different Input Types (Checkboxes, Selects, Radio Buttons)
  • Form Submission (ngSubmit)

Reactive Forms

  • Introduction to Reactive Forms (Programmatic approach)
  • Importing ReactiveFormsModule
  • The Building Blocks: FormControl, FormGroup, FormArray
  • Constructing Forms in the Component Class
  • Connecting Template to Form (formGroup, formControlName, formArrayName)
  • Getting/Setting Form Values (valueChanges, statusChanges, setValue, patchValue)
  • Forms and type safety
  • Built-in and Custom Validators
  • Displaying Validation Errors
  • Dynamic Forms with FormArray

Services and Dependency Injection (DI)

  • What is a Service?
  • Creating a Service (@Injectable)
  • Dependency Injection Overview
  • Providing Services:
  • Root Injector (providedIn: 'root') - Preferred method
  • Component/Directive Providers (providers array in decorator)
  • Module Providers (providers array in @NgModule - less common now)
  • Injecting Services (Constructor Injection)
  • Injector Hierarchy Basics
  • Using Injection Tokens (InjectionToken)
  • Optional Dependencies (@Optional)
  • Controlling Visibility (@Host, @SkipSelf)

HttpClient

  • Using the Angular HttpClient for API Communication
  • Importing provideHttpClient()
  • Importing HttpClientModule
  • Making Requests: GET, POST, PUT, DELETE
  • Working with RxJS Observables for HTTP Responses
  • Handling Responses (Typed Responses)
  • Error Handling (catchError operator)
  • Sending Data (Request Body)
  • Setting Headers and Request Options
  • Working with HttpResponse object (Accessing headers, status)
  • Interceptors (Modifying Requests/Responses)

Pipes and Data Formatting

  • What are Pipes? Transforming Data in Templates
  • Using Built-In Pipes (DatePipe, UpperCasePipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, JsonPipe, AsyncPipe)
  • Using Pipes in Standalone Components
  • Chaining Pipes
  • Passing Parameters to Pipes
  • Creating Custom Pipes (@Pipe, PipeTransform)
  • Standalone Pipes (standalone: true)
  • Pure vs. Impure Pipes
  • Using the AsyncPipe

Routing Basics

  • The Angular Component Router
  • Setting up Routing (provideRouter - standalone approach)
  • Defining Routes (Routes array)
  • Displaying Routed Components
  • Navigation:
  • Declarative (routerLink, routerLinkActive)
  • Programmatic (Router.navigate(), Router.navigateByUrl())
  • Passing Route Parameters (/:id)
  • Retrieving Route Parameters
  • Query Parameters

Advanced Routing

  • Lazy Loading Standalone Components
  • Route Guards
  • CanActivate, CanActivateChild, CanDeactivate, Resolve
  • Functional Guards
  • Child Routes (Nested Routes)
  • Multiple/Auxiliary Router Outlets
  • Router Events

Using NgModules

  • When to use NgModules
  • Creating a project that uses NgModules
  • NgModule Basics (@NgModule decorator)
  • NgModule Metadata Properties (declarations, imports, exports, providers, bootstrap)
  • Setting up Routing for Modules
  • Providing Services in NgModules
  • Module level HttpClient Configuration
  • Lazy Loading Modules
  • Feature Modules vs. Root Module
  • Shared Modules / Core Module patterns
  • Using Standalone Components within NgModules
  • Importing NgModules into Standalone components
  • When to still use NgModules

Observables & RxJS

  • Introduction to Observables
  • What are Observables? (vs. Promises)
  • Advanced RxJS Operators for HTTP (map, filter, tap, switchMap, mergeMap, forkJoin, catchError, retry)
  • Managing Subscriptions (AsyncPipe, takeUntil, take(1))
  • Creating Observables
  • Error Handling Strategies
  • Caching HTTP Responses

Unit Testing Angular Applications

  • Introduction to Unit Testing (Jasmine, Karma/Jest)
  • Setting up the Testing Environment (Angular CLI generates boilerplate)
  • Writing Test Suites (describe) and Specs (it)
  • Using Matchers (expect)
  • Setup and Teardown (beforeEach, afterEach, etc.)
  • Testing Standalone Components
  • Configuring TestBed for Standalone Components (imports)
  • ComponentFixture, DebugElement
  • Testing Services (with and without dependencies)
  • Mocking Dependencies
  • Testing Asynchronous Code (async, fakeAsync, tick)
  • Testing Components with Inputs/Outputs
  • Testing Routed Components (RouterTestingModule)
  • Testing with HttpClientTestingModule
  • Code Coverage

Debugging Angular Applications

  • Overview of Debugging Techniques
  • Using Browser Developer Tools (Breakpoints, Console)
  • Viewing TypeScript Code in Debugger
  • Using debugger Keyword
  • Debug Logging (console.log)
  • Angular DevTools Browser Extension
  • Inspecting Component Structure
  • Profiling Change Detection
  • Understanding and Debugging Common Errors

Lab Exercises

  • Getting Started with Angular
  • Introduction to TypeScript
  • Standalone Components
  • Component Templates
  • Angular Signals
  • Inter-Component Communication
  • Template-Driven Forms
  • Reactive Forms
  • Creating Services
  • Using HttpClient
  • Pipes and Data Formatting
  • Routing Basics
  • Advanced Routing
  • NgModules Lab
  • Observables & RxJS
  • Unit Testing for Angular
  • Debugging Angular Applications

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

Class was easy to sign up for and ExitCertified provided very good communication

This was a good program to get prepared for the solutions architect associate exam.

Easy to work with. Learning material pdfs were able to be printed out in color which was very nice to write on.

The training was very good to understand the concepts and how to set up things .

This was effective way to provide a ton of information in a short time period.