0845 450 6120

Developing Applications using Angular

Google's Angular framework (often referred to as Angular 2) is the next iteration of the widely known AngularJS framework which allows developers to build smart client-side applications that enhance the user experience. This course is a practical walk-through for both those entirely new to Angular and those coming from AngularJS; and leverages the power of TypeScript to help build highly scalable applications.

AngularJS (Angular 1) is covered in the course Developing MVC single-page web applications using AngularJS. This course is applicable to Angular version 2 and beyond.

Learning Objectives

This course is a practical walk-through for both those entirely new to Angular and those coming from AngularJS; and leverages the power of TypeScript to help build highly scalable applications.

Pre-Requisites

It is essential you understand the face of contemporary web development to attend this course. We insist upon JavaScript experience equivalent to the skills covered in Programming with JavaScript.

This course uses TypeScript for all code demonstrations and exercises and so it is essential that attendees have experience equivalent to the skills covered in Programming with TypeScript.

Course Content

Introduction

  •   Evolution and lessons learned
  •   Semver
  •   AngularJS to Angular

TypeScript Refresher

  •   Static Types
  •   Classes
  •   Modules
  •   Decorators

Setting up the environment

  •   Quickstart
  •   Angular CLI
  •   WebPack
  •   Exercise: Writing our Hello World application

Overview of Angular2

  •   Eight core components
  •   Bringing them together
  •   Observables
  •   Exercise: A hands-on overview of Angular

Components in depth

  •   Templates
  •   Data binding
  •   Built in directives
  •   Input / Output properties
  •   Exercise: Write a second component

Directives

  •   What are directives
  •   Attribute directives
  •   Structural directives
  •   Exercise: Writing a custom directive

Observables

  •   An introduction to Observables
  •   Operators: the power behind Observables
  •   Exercise: Using Observables

Forms

  •   How to build forms in Angular
  •   Using template reference variables to manage data
  •   Feeding back the form’s state to the user
  •   Handling form submission
  •   Exercise: Accepting submissions and providing user feedback on our course admin page

Reactive Forms

  •   What are Reactive Forms
  •   Essential Form Classes
  •   Reactive Form Components
  •   Inspecting Form Data
  •   Validating Reactive Forms
  •   Exercise: Accepting submissions and providing user feedback on our course admin page

Services

  •   Why services
  •   Creating our service
  •   Dependency Injection
  •   Making asynchronous requests for data from the server
  •   Exercise: Building the course service to encapsulate business logic

Routing

  •   Configuring the Router
  •   Setting up your first routes
  •   Using Child Routes to build complex applications
  •   Passing data using route parameters
  •   Exercise: Build a home page and hook up multiple routes

Route Guards

  •   Using route guards to allow/deny access
  •   How to pre-fetch data required for successful navigation
  •   Enabling lazy loading and preventing it when required
  •   Exercise: Placing route guards to prevent navigation to the admin page, and away from the course creation page

Pipes

  •   Using Pipes to transform our data
  •   Angular’s built-in pipes
  •   Building custom pipes
  •   Pure and Impure Pipes – a choice of speed
  •   AsyncPipe
  •   Exercise: Using Angular’s Pipes and writing our own

Testing

  •   Tools and setup
  •   Isolated unit tests
  •   Writing our first Karma test
  •   Testing components
  •   with Dependencies
  •   with Input / Output properties
  •   Testing HTTP and Services
  •   Exercise: Test first

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Virtual Classroom

Virtual classrooms provide all the benefits of attending a classroom course without the need to arrange travel and accomodation. Please note that virtual courses are attended in real-time, commencing on a specified date.

Virtual Course Dates

Our Customers Include