Introduction to Angular 5 Training

Course #:WA2701

Introduction to Angular 5 Training

Web Age Solution's Introduction to Angular 5 training covers everything you need to know to get started with this next generation of the Angular framework. Angular 5 makes the creation of single page applications even easier that before. In this course developers will learn to use Angular Directives and to create Angular Components and Services to develop applications based on the Model-View-Controller (MVC) architecture. You will learn to use HTML Templates to define views and to connect views with code using output, two-way, event and property bindings. The course reviews the benefits and challenges of Single Page Applications and how to overcome those challenges using the Angular Router. The course also covers everything you need to know about Typescript - a programming language based on JavaScript that is used to create Angular 5 applications.

Lab exercises provide essential and practical hands-on experience for each topic.

Those interested in more in-depth Angular 5 training might consider WA2710 Comprehensive Angular 5 Programming instead of this course.

Our Introduction to Angular 5 offering introduces everything you need to know to get started with this next generation of the Angular framework. Angular 5 makes the creation of single page applications even easier that before. In this course developers will learn to use Angular Directives and to create Angular Components and Services to develop applications based on the Model-View-Controller (MVC) architecture. You will learn to use HTML Templates to define views and to connect views with code using output, two-way, event and property bindings. The course reviews the benefits and challenges of Single Page Applications and how to overcome those challenges using the Angular Router. The course also covers everything you need to know about Typescript - a programming language based on JavaScript that is used to create Angular 5 applications.

Taking an Angular 5 Introduction course prepares the attendees to utilize various Angular 5 features, such as creating SPA web applications, organizing Angular code, programming Angular View Components and Services, etc.

Angular 5 training continue to be in demand. Web Age offers support for all your Angular 5 training needs. Sign up today for one of our instructor led Angular 5 training.

Our Introduction to Angular 5 course continues to be in high demand. The labs covered in the course are:

  • Lab 1. Introduction to Angular
  • Lab 2. Introduction to TypeScript
  • Lab 3. Introduction to Components
  • Lab 4. Create the Subscription Form Component
  • Lab 5. Understanding Data Binding
  • Lab 6. One Way Data Binding in a Custom Component
  • Lab 7. Using Basic Angular Directives
  • Lab 8. Using Structural Directives
  • Lab 9. Template Driven Form
  • Lab 10. Validation of a Template Driven Form
  • Lab 11. Model Driven Form
  • Lab 12. Service and Dependency Injection
  • Lab 13. HTTP Client Development
  • Lab 14. Using Pipes
  • Lab 15. Basic Single Page Application Using Router

Our other popular Angular courses are:

Web Age Introduction to Angular 5 course can be delivered in traditional classroom style format. Web Age Introduction to Angular 5 course can also be delivered in a synchronous instructor led format.

OBJECTIVES

In this training, attendees will learn how to:

  • Create single page web applications using the MVC pattern of Angular
  • Understand how write and organize Angular code
  • Program Angular View Components and Services
  • Use Angular output, two-way, event and property bindings
  • Exchange data with network servers using the Angular HTTP Client
  • Work with Angular Pipes to format data
  • Create and work with Angular Forms
  • Angular Component Router

PREREQUISITES

Students should have some prior understanding of web development using, HTML, CSS and JavaScript. Experience developing with AngularJS or with prior versions of Angular (2-4) is not required. 

DURATION

3 Days

Outline of Introduction to Angular 5 Training

Chapter 1 - Introducing Angular

  • What is Angular?
  • Central Features of the Angular Framework
  • Why Angular?
  • Building Blocks of an Angular Application
  • Basic Architecture of an Angular Application
  • Angular vs. AngularJS
  • Angular Semantic Versioning
  • Installing and Using Angular
  • A Basic Angular Application
  • Anatomy of a Basic Application
  • The Main Component File
  • The Application Module File
  • The index.html File
  • The Bootstrap File
  • Running the Application
  • Building the Application
  • Summary

Chapter 2 - Development Setup of Angular

  • Angular Development Lifecycle
  • Angular is Modular
  • What is Node.js?
  • Installing Node.js and NPM
  • Node Package Manager (NPM)
  • Package Descriptor File - package.json
  • Semantic Version Numbering
  • Package Version Numbering Syntax
  • Updating Packages
  • Uninstalling Packages
  • Installing Angular Packages
  • Angular CLI
  • Creating a New Project
  • Angular Development Dependencies
  • TypeScript Typings
  • Testing Tools
  • Development Web Server
  • Configuring the Web Server
  • The Build System
  • Configuring the Build
  • Summary

Chapter 3 - Introduction to TypeScript and ES6

  • Programming Languages for Use with Angular
  • TypeScript Syntax
  • Programming Editors
  • The Type System – Defining Variables
  • The Type System – Defining Arrays
  • Type in Functions
  • Type Inference
  • The Type System – Classes & Objects
  • Class Constructors
  • Class Constructors – Alternate Form
  • Interfaces
  • Working with ES6 Modules
  • Visibility Control
  • var, let and const - Defined
  • var, let and const - Usage
  • Arrow Functions
  • Arrow Function Compact Syntax
  • Arrow Function and Caller Context
  • Template Strings
  • Template Strings – Variables and Expressions
  • Template Strings – Multiline
  • Generics - Class
  • Generics - Methods
  • Generics - Restricting Types
  • Generics - Restricting Types: Example
  • TypeScript Transpilation
  • Summary

Chapter 4 - Components in Angular

  • What is a Component?
  • An Example Component
  • The Component Class
  • Adding a Component to Its Module
  • Creating a Component Using Angular CLI
  • Developing a Simple Login Component
  • Component Template
  • Login Component: Add HTML
  • The HTML Component Template
  • The templateUrl property
  • Login Component: Add CSS Styling
  • Login Component: Hook Up Input Fields and Button
  • Login Component: Fields & Button in the Component Class
  • Component Decorator Properties
  • Component Hierarchy
  • The Application Root Component
  • Using a Regular Component
  • The Build System
  • Component Lifecycle Hooks
  • Using a Lifecycle Hook: OnInit
  • Summary

Chapter 5 - Data and Event Binding

  • Binding Syntax
  • One-Way Output Binding
  • Binding Displayed Output Values
  • Setting Component Properties
  • More About Setting Properties
  • Setting DOM Element Properties
  • Event Binding
  • Binding Events Examples
  • Firing Event from a Component
  • @Output() Example - Child Component
  • @Output() Example - Parent Component
  • Two-Way Binding of Input Fields
  • Input Binding Examples
  • Two Way Binding in a Component
  • Use Two Way Binding
  • Breaking Down ngModel
  • Summary

Chapter 6 - Attribute Directives

  • What are Attribute Directives
  • Apply Styles by Changing Classes
  • Changing Classes – Example
  • Applying Styles Directly
  • Applying Styles Directly - Example
  • Controlling Element Visibility
  • Setting Image Source Dynamically
  • Setting Hyperlink Source Dynamically
  • Writing a Custom Attribute Directive
  • Using a Custom Attribute Directive
  • Supplying Input to a Directive
  • Handling Event from a Custom Directive
  • Summary

Chapter 7 - Structural Directives

  • Structural Directives
  • Adding and Removing Elements Dynamically
  • If-Else Syntax of ngIf
  • Declare Variables in ngIf
  • Looping Using ngFor
  • ngFor - Basic Syntax
  • ngFor - Full Template Syntax
  • Creating Tables with ngFor
  • ngFor Local Variables
  • ngFor Changes in the Backing Data Source
  • Swapping Elements with ngSwitch
  • ngSwitch - Basic Syntax
  • Summary

Chapter 8 - Template Driven Forms

  • Template Driven Forms
  • Importing Forms Module
  • A Basic Angular Form
  • Binding Input Fields
  • Accessing the NgForm Directive
  • Binding the Form Submit Event
  • The Submit Function
  • Basic HTML5 Validation - "required" Attribute
  • HTML5 vs. Angular Validation
  • Angular Validators
  • The NgModel Directive
  • Controlling when validation is applied
  • Displaying Form Validation State
  • Displaying Field Validation State
  • Displaying Validation State Using Classes
  • Disabling Submit when Form is Invalid
  • Submitting the Form
  • Binding to Object Variables
  • Binding to Object Variables - Code
  • Additional Input Types
  • Checkboxes
  • Select (Drop Down) Fields
  • Rendering Options for Select (Drop Down)
  • Date fields
  • Radio Buttons
  • Summary

Chapter 9 - Reactive Forms

  • Reactive Forms Overview
  • The Building Blocks
  • Import ReactiveFormsModule
  • Form Component Setup
  • Design a Form
  • FormControl Constructor
  • Getting Form Values
  • Setting Form Values
  • The Synchronous Nature
  • Validation
  • Built-In Validators
  • Showing Validation Error
  • Custom Validator
  • Using a Custom Validator
  • Sub FormGroups - Component Class
  • Sub FormGroups - HTML Template
  • Why Use Sub FormGroups
  • Summary

Chapter 10 - Angular Modules

  • Why Angular Modules?
  • But, We Already Had ES6 Module
  • Angular Built-in Modules
  • The Root Module
  • Feature Modules
  • Create Feature Module Using CLI
  • The Module Class
  • @NgModule Properties
  • Using One Module From Another
  • Importing BrowserModule or CommonModule
  • Lazy-Loaded Modules
  • How to Organize Modules?
  • Third Party Modules
  • Summary

Chapter 11 - Services and Dependency Injection

  • What is a Service?
  • Creating a Basic Service
  • What is Dependency Injection?
  • What Dependency Injection Looks Like
  • Injecting Services
  • Dependency Injection Hierarchy Diagram
  • Using a Service in a Component: Dedicated Instance
  • Injection Hierarchy - Dedicated Instance
  • Using a Service in a Component: Dedicated Instance - Example Code
  • Using onInit to Initialize Component Data
  • Using a Shared Service Instance
  • Injection Hierarchy - Shared Instance
  • Dependency Injection and @Host
  • Dependency Injection and @Optional
  • Summary

Chapter 12 - HTTP Client

  • The Angular HTTP Client
  • Using The HTTP Client - Overview
  • Importing HttpClientModule
  • Simple Example
  • Service Using HttpClient
  • ES6 Import Statements
  • Making a GET Request
  • What does an Observable Object do?
  • Using the Service in a Component
  • The PeopleService Client Component
  • Error Handling
  • Customizing Error Object with .catch()
  • Making a POST Request
  • Making a PUT Request
  • Making a DELETE Request
  • Summary

Chapter 13 - Pipes and Data Formatting

  • What are Pipes?
  • Built-In Pipes
  • Using Pipes in HTML Template
  • Chaining Pipes
  • Using Pipes in Code
  • Internationalized Pipes (i18n)
  • Loading Locale Data
  • Decimal Pipe
  • Currency Pipe
  • Custom Pipes
  • Custom Pipe Example
  • Using Custom Pipes
  • Using a Pipe with ngFor
  • A Filter Pipe
  • A Sort Pipe
  • Pipe Category: Pure and Impure
  • Pure Pipe Example
  • Impure Pipe Example
  • Summary

Chapter 14 - Introduction to Single Page Applications

  • What is a Single Page Application (SPA)
  • Traditional Web Application
  • SPA Workflow
  • Single Page Application Advantages
  • HTML5 History API
  • SPA Challenges
  • Implementing SPA's Using Angular
  • Summary

Chapter 15 - The Angular Component Router

  • The Component Router
  • View Navigation
  • Component Router Terminology
  • Setting up the Routes
  • Using Angular CLI
  • Hosting the Routed Component
  • Navigation Using Links and Buttons
  • Programmatic Navigation
  • Basic Navigation
  • Passing Data During Navigation
  • Creating Routes with Route Parameters
  • Navigating with Route Parameters
  • Obtaining the Route Parameter Values
  • Retrieving the Route Parameter Synchronously
  • Retrieving a Route Parameter Asynchronously
  • Query Parameters
  • Supplying Query Parameters
  • Retrieving Query Parameters Asynchronously
  • Problems with Manual URL entry and Bookmarking
  • Fixing Manual URL entry and Bookmarking
  • Summary

Lab Exercises

Lab 1. Introduction to Angular
Lab 2. Introduction to TypeScript
Lab 3. Introduction to Components
Lab 4. Create the Subscription Form Component
Lab 5. Understanding Data Binding
Lab 6. One Way Data Binding in a Custom Component
Lab 7. Using Basic Angular Directives
Lab 8. Using Structural Directives
Lab 9. Template Driven Form
Lab 10. Validation of a Template Driven Form
Lab 11. Reactive Form
Lab 12. Service and Dependency Injection
Lab 13. HTTP Client Development
Lab 14. Using Pipes
Lab 15. Basic Single Page Application Using Router

We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.