• info@pencilboxtraining.com
  • 01635 540 427

Home / Training Details


Getting Started Front End Development with Angular

Getting Started Front End Development with Angular ( Batch No : 1 )


Learning 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.


Course Outline


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
  • The Type System – Classes & Objects
  • Class Constructors
  • Class Constructors – Alternate Form
  • Interfaces
  • Parameter and Return Value Types
  • Working with Modules
  • TypeScript Transpilation
  • Var,let and const
  • Arrow Functions
  • Template Strings
  • Template Strings – Variables and Expressions
  • Template Strings – Multiline
  • Generics - Class
  • Generics - Methods
  • Generics - Restricting Types
  • Generics - Restricting Types: Example
  • 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
  • Two-Way Binding of Input Fields
  • Input Binding Examples
  • Binding Events
  • Binding Events Examples
  • Setting DOM Element Properties
  • Setting Properties: Examples
  • Passing Data into Components using @Input()
  • Passing Data from Child to Parent using @Output()
  • @Output() Example - Child Component
  • @Output() Example - Parent Component
  • Summary

Chapter 6. Attribute Directives and Property Bindings

  • What are Directives
  • Directive Types
  • Apply Styles by Changing Classes
  • Changing Classes – Example
  • Applying Styles Directly
  • Applying Styles Directly - Example
  • Obsolete Directives and Property Binding
  • Controlling Element Visibility
  • Setting Image Source Dynamically
  • Setting Hyperlink Source Dynamically
  • 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
  • ngSwitch - Full Template Syntax
  • Summary

Chapter 8. Template Driven Forms

  • Template Driven Forms
  • Importing Forms Module
  • A Basic Angular Form
  • Binding Input Fields
  • Accessing the Form Object
  • Binding the Form Submit Event
  • The Submit Function
  • Basic HTML5 Validation - "required" Attribute
  • HTML5 vs. Angular Validation
  • Angular Validators
  • Angular Validation State
  • 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
  • Additional Input Types
  • Checkboxes
  • Select (Drop Down) Fields
  • Rendering Options for Select (Drop Down)
  • Date fields
  • Radio Buttons
  • Summary


Chapter 9. Model Driven Forms

  • Model Driven Forms Overview
  • Setup for Model Driven Forms
  • Form Component Setup
  • Setup Main FormGroup
  • formControlName
  • FormControl Object
  • Getting Form Values
  • FormBuilder Form Initialization
  • Validation
  • Built-In Validators
  • Controlling when validation is applied
  • Custom Validator
  • Using a Custom Validator
  • Useful FormGroup and FormControl Properties/Functions 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
  • How to Create a Module
  • Feature Modules
  • @NgModule Properties
  • Using One Module From Another
  • Importing BrowserModule or CommonModule
  • Why Angular Modules?
  • Lazy-Loaded Modules
  • How to Organize Modules?
  • Relative Paths for Resources
  • 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 DiagraUsing 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
  • Importing Individual Providers into Services
  • Service Using HttpClient
  • Service Imports
  • The Observable object type
  • What does an Observable Object do?
  • Making a Basic HTTP GET Call
  • Using the Service in a Component
  • The PeopleService Client Component
  • Client Component Code Review
  • Returning a Response Object
  • Importing Observable Methods
  • Enhancing the Service with .catch()
  • Using .catch()
  • Using toPromise()
  • GET Request
  • Options Object
  • GET Request with Options
  • POST Request
  • POST Request Example
  • Reading HTTP Response Headers
  • Summary


Chapter 13. Pipes and Data Formatting

  • What are Pipes?
  • More on Pipes
  • Formatting Changes in Angular
  • Using a Built-in Pipe
  • Built-In Pipes
  • Using Pipes in HTML
  • Chaining Pipes
  • Using Pipes in JavaScript
  • Some Pipe Examples
  • Internationalized Pipes (i18n)
  • Decimal Pipe
  • Decimal Pipe - i18n
  • Currency Pipe
  • Currency Pipe - i18n
  • Custom Pipes
  • What are Pipes?
  • Custom Pipe Example
  • Using Custom Pipes
  • 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

  • Applications What is a Single Page Application (SPA) SPA Workflow
  • Traditional Web Application Capabilities
  • Single Page Application Advantages
  • SPA and Traditional Web Sites
  • SPA Challanges
  • Implementing SPA's Using Angular
  • Simple SPA Using Visibility Control
  • SPA Using Angular Components
  • SPA with Angular Components - Switching
  • SPA with Angular Components - The Displayed
  • Component Implement SPA Using an Angular Component
  • Router Summary


Chapter 15. The Angular Component Router

  • Routing and Navigation
  • The Component Router
  • Traditional Browser Navigation
  • Component Router Terminology
  • Setting up the Component Router
  • Local URL Links
  • Browser pushState and
  • Routes
  • The app.routes.ts File
  • The app.routes.ts File - Example
  • Importing Routing in app.module.ts
  • A Basic App With Routing
  • App Routes
  • AppComponent - Code
  • AppComponent - Router Related Features
  • AppComponent -
  • AppComponent - routerLinks
  • Programmatic Navigation
  • Basic Navigation
  • Passing Data During Navigation
  • Creating Routes with Route Parameters
  • Navigating with Route Parameters
  • Using Route Parameter Values
  • Retrieving the Route Parameter Synchronously
  • Retrieving a Route Parameter Asynchronously
  • Query Parameters
  • Query Parameters - Example Component
  • Query Parameters - queryParams
  • Query Parameters - Navigation
  • Retrieving Query Parameters Asynchronously
  • Problems with Manual URL entry and
  • Bookmarking Fixing Manual URL entry and
  • Bookmarking Summary

Chapter 16. Angular 5 Features

  • Angular Versions
  • Angular 5 Overview
  • Upgrading to Angular 5
  • Creating New Projects with Angular v5
  • TypeScript 2.4 Support
  • HttpClientModule
  • HttpClientModule Setup
  • NgForOf Directive
  • Internationalized Pipes
  • ng-template
  • Build Optimizer
  • AOT Compilation
  • Progressive Web App Support
  • 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. 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 Route


Course Details

  • Starting Tentative Date:2018-10-26
  • Last Application Date : 2018-10-25
  • Price: BDT 12000
  • Total Class No: 12
  • Training Schedule Info:
    Fri - 05:30 PM to 09:30 PM
    Sat - 05:30 PM to 09:30 PM

  • Shirajul Islam Mamun Shirajul Islam Mamun (Lead Trainer)
Apply