Course Code
angular10
Duration
28 hours (usually 4 days including breaks)
Requirements
- Familiarity with basic HTML, CSS, and JavaScript
Audience
- Developers
Overview
Angular is a JavaScript framework for building web applications. Angular 10 is the latest version in the Angular 2 series (Angular 2 being a complete rewrite of the original AngularJS, or Angular 1). Angular 10 is a major release that emphasizes quality, tools, and ecosystem improvements, rather than new features. Angular 10 is smaller than previous versions.
In this instructor-led, live training (online or onsite), participants will learn how to create, test and deploy an Angular application using the latest features in Angular 10.
By the end of this training, participants will be able to:
- Develop Angular 10 applications using TypeScript and the Angular CLI.
- Create loosely coupled web components that can be used in any HTML page.
- Connect these components to services, modules and directives.
- Consume REST web services and WebSocket data from within an Angular 10 application.
- Build custom validation using Reactive Forms.
- Test, debug and deploy an Angular 10 application.
- Organize Angular 10 projects using best practices.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Course Outline
Introduction
- What is Angular?
- What's new in Angular 10?
Overview of Typescript and ES6 JavaScript
- TypeScript Syntax
- Using the TypeScript transpiler
- Setting up Angular 10 and Typescript
Overview of Angular 10's Parts
- Angular CLI
- Components
- Directives
- Inputs and Outputs
- Data Binding and Interpolation
- Event Binding
- Data Modelling
- Bootstrapping
Creating Your First Angular Application
- Planning the Application
- Setting Up an Angular Project
- Creating a mobile friendly UI using Bootstrap 4 and Sass
Creating a Component
- Understanding the Component Lifecycle
- Data Flow
- Using Templates and Styles
- Projecting Content
- Working with AppModule
- Working with Custom Components
- Using View Encapsulation
- Implementing Lifecycle Hooks
- Using ViewChildren and ContentChildren
Data Binding in Angular 10
- Understanding Property and Event Binding
- Binding and Assigning Aliases to Custom Properties
- Binding and Assigning Aliases to Custom Events
Working with Directives
- Built-in Directives
- Custom Directives
Angular 10 Services
- Creating a Logging Service
- Creating a Data Service
Using Dependency Injection and Providers
- Injectors, Provider, and Tokens
- Configuring Dependency Injection
- Configuring Your Provider
- Injecting Services into Components, Directives, and Services
Switching Pages with Routing
- Understanding the Different Navigation Methods
- Routing Strategies
- Setting Up Routes
- Configuring and Loading Routes
- Using Parameters in Routes
- Creating Nested Routes
- Using Redirect and Wildcard Routes
- Understanding Route Guards
Using RxJS to Create and Work with Observables in Angular
- Overview of Observables
- Overview of RxJS
- Building & Using Observables in Angular
Generating Forms for User Input
- Using the Template Driven Forms
- Using the Reactive Forms
- Creating custom validation
- Validating, filtering, and sanitizing form data
Using Pipes
- Transforming output
- Built-in Pipes
- Async Pipe
- Custom Pipes
Making Calls to External HTTP APIs
- Sending requests
Using Angular Modules
Testing the Angular 10 Application
- Using Jasmine for unit testing
- Using Protractor for end-to-end testing
Debugging the Application
- Understanding Error Messages in Angular
- Using Sourcemaps to Debug Code in the Browser
- Reading TypeScript Compilor diagnostics
- Using Augury
Optimizing the Angular 10 Application
- Reworking the code
- Reducing bundle size and eliminating dead-code
Angular 10 Security
- How authentication works
- Using JWT authentication
- What should and shouldn't be written in Angular
Deploying an Angular 10 Application to Production
- Deploying to IIS, Apache, Nginx, etc.
Angular 10 Best Practices
Troubleshooting
Summary and Conclusion