Expert Angular 4

Learn everything you need to build highly scalable, robust web applications using Angular 4
Preview in Mapt
Code Files

Expert Angular 4

Mathieu Nayrolles, Rajesh Gunasundaram, Sridhar Rao

2 customer reviews
Learn everything you need to build highly scalable, robust web applications using Angular 4
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Expert Angular 4 Book Cover
Expert Angular 4
$ 39.99
$ 28.00
Full Stack Angular for Java Developers Book Cover
Full Stack Angular for Java Developers
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781785880230
Paperback454 pages

Book Description

Got some experience of Angular under your belt? Want to learn everything about using advanced features for developing websites? This book is everything you need for the deep understanding of Angular that will set you apart from the developer crowd.

Angular has introduced a new way to build applications. Creating complex and rich web applications, with a lighter resource footprint, has never been easier or faster. Angular is now at release 4, with significant changes through previous versions.

This book has been written and tested for Angular release 4.

Angular is a mature technology, and you'll likely have applications built with earlier versions. This book starts by showing you best practices and approaches to migrating your existing Angular applications so that you can be immediately up-to-date. You will take an in-depth look at components and see how to control the user journey in your applications by implementing routing and navigation. You will learn how to work with asynchronous programming by using Observables.

To easily build applications that look great, you will learn all about template syntax and how to beautify applications with Material Design. Mastering forms and data binding will further speed up your application development time. Learning about managing services and animations will help you to progressively enhance your applications. Next you’ll use native directives to integrate Bootstrap with Angular. You will see the best ways to test your application with the leading options such as Jasmine and Protractor.
At the end of the book, you’ll learn how to apply design patterns in Angular, and see the benefits they will bring to your development.

Table of Contents

Chapter 1: Architectural Overview and Building a Simple App in Angular
Angular architecture
Basics of TypeScript
Building a simple application
Summary
Chapter 2: Migrating AngularJS App to Angular App
Migration process
Syntax difference between Angular and AngularJS
Benefits of upgrading to Angular
Rules for incremental upgrade to Angular
Incremental upgrading using UpgradeAdapter
Components migration
Roadmap from AngularJS to Angular
Summary
Chapter 3: Using Angular CLI to Generate Angular Apps with Best Practices
Introducing Angular CLI
Installing and setting up Angular CLI
Generating code for a new application
Generating components and routes
Generating services
Generating directives and pipes
Creating builds targeting various environments
Running tests for your application
Updating Angular CLI
Summary
Chapter 4: Working with Components
Components 101
Component life cycle
Communicating and sharing data between components
Summary
Chapter 5: Implementing Angular Routing and Navigation
Importing and configuring the router
Route Guards
Custom component routes with inner child routes
Summary
Chapter 6: Creating Directives and Implementing Change Detection
Angular Directives
Component Directives
Structural Directives
Attribute Directives
Implementing change detection in Angular
Summary
Chapter 7: Asynchronous Programming Using Observables
Observer patterns
Observing HTTP responses
Promises
Summary
Chapter 8: Template and Data Binding Syntax
Learning about Template Syntax
Angular Data Binding
Summary
Chapter 9: Advanced Forms in Angular
Getting started
Reactive forms
Using FormBuilder
Adding validations
Custom validation
Two-way Data Binding with ngModel
Keeping things neat (extra credit)
Summary
Chapter 10: Material Design in Angular
Installing the package
Responsive layout
Material icons
Theming
Summary
Chapter 11: Implementing Angular Pipes
Angular Pipes - An overview
Defining a pipe
Parameterizing pipes
Chaining pipes
Creating custom pipes
Summary
Chapter 12: Implementing Angular Services
Why use a service or factory?
Creating a service
Accessing data from components using services
Creating an asynchronous service
Summary
Chapter 13: Applying Dependency Injection
Applications without Dependency Injection
Dependency Injection - Introduction
Registering providers
Summary
Chapter 14: Handling Angular Animation
Introduction to Angular animations
Summary
Chapter 15: Integrating Bootstrap with Angular Application
Installing Bootstrap
Understanding the grid system
Using Bootstrap directives
Summary
Chapter 16: Testing Angular Apps Using Jasmine and Protractor Frameworks
Concepts in testing
Understanding and setting up Angular CLI for testing
Introduction to Jasmine framework
Introduction to Protractor framework
Summary
Chapter 17: Design Patterns in Angular
Model-View-Controller (MVC)
Singleton and Dependency Injection
Prototype and reusable pool
Factory pattern
Memento pattern
Summary

What You Will Learn

  • Implement asynchronous programming using Angular
  • Beautify your application with the UI components built to the material design specification
  • Secure your web application from unauthorized users
  • Create complex forms, taking full advantage of 2-way data binding
  • Test your Angular applications using the Jasmine and Protractor frameworks for better efficiency
  • Learn how to integrate Angular with Bootstrap to create compelling web applications
  • Use Angular built-in classes to apply animation in your app

Authors

Table of Contents

Chapter 1: Architectural Overview and Building a Simple App in Angular
Angular architecture
Basics of TypeScript
Building a simple application
Summary
Chapter 2: Migrating AngularJS App to Angular App
Migration process
Syntax difference between Angular and AngularJS
Benefits of upgrading to Angular
Rules for incremental upgrade to Angular
Incremental upgrading using UpgradeAdapter
Components migration
Roadmap from AngularJS to Angular
Summary
Chapter 3: Using Angular CLI to Generate Angular Apps with Best Practices
Introducing Angular CLI
Installing and setting up Angular CLI
Generating code for a new application
Generating components and routes
Generating services
Generating directives and pipes
Creating builds targeting various environments
Running tests for your application
Updating Angular CLI
Summary
Chapter 4: Working with Components
Components 101
Component life cycle
Communicating and sharing data between components
Summary
Chapter 5: Implementing Angular Routing and Navigation
Importing and configuring the router
Route Guards
Custom component routes with inner child routes
Summary
Chapter 6: Creating Directives and Implementing Change Detection
Angular Directives
Component Directives
Structural Directives
Attribute Directives
Implementing change detection in Angular
Summary
Chapter 7: Asynchronous Programming Using Observables
Observer patterns
Observing HTTP responses
Promises
Summary
Chapter 8: Template and Data Binding Syntax
Learning about Template Syntax
Angular Data Binding
Summary
Chapter 9: Advanced Forms in Angular
Getting started
Reactive forms
Using FormBuilder
Adding validations
Custom validation
Two-way Data Binding with ngModel
Keeping things neat (extra credit)
Summary
Chapter 10: Material Design in Angular
Installing the package
Responsive layout
Material icons
Theming
Summary
Chapter 11: Implementing Angular Pipes
Angular Pipes - An overview
Defining a pipe
Parameterizing pipes
Chaining pipes
Creating custom pipes
Summary
Chapter 12: Implementing Angular Services
Why use a service or factory?
Creating a service
Accessing data from components using services
Creating an asynchronous service
Summary
Chapter 13: Applying Dependency Injection
Applications without Dependency Injection
Dependency Injection - Introduction
Registering providers
Summary
Chapter 14: Handling Angular Animation
Introduction to Angular animations
Summary
Chapter 15: Integrating Bootstrap with Angular Application
Installing Bootstrap
Understanding the grid system
Using Bootstrap directives
Summary
Chapter 16: Testing Angular Apps Using Jasmine and Protractor Frameworks
Concepts in testing
Understanding and setting up Angular CLI for testing
Introduction to Jasmine framework
Introduction to Protractor framework
Summary
Chapter 17: Design Patterns in Angular
Model-View-Controller (MVC)
Singleton and Dependency Injection
Prototype and reusable pool
Factory pattern
Memento pattern
Summary

Book Details

ISBN 139781785880230
Paperback454 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Angular UI Development with PrimeNG Book Cover
Angular UI Development with PrimeNG
$ 35.99
$ 25.20
Building Modern Web Applications Using Angular 4 Book Cover
Building Modern Web Applications Using Angular 4
$ 31.99
$ 22.40
Angular 2 Cookbook Book Cover
Angular 2 Cookbook
$ 39.99
$ 28.00
Essential Angular 4 Book Cover
Essential Angular 4
$ 23.99
$ 16.80
Mastering TypeScript - Second Edition Book Cover
Mastering TypeScript - Second Edition
$ 39.99
$ 28.00
Angular 2 By Example Book Cover
Angular 2 By Example
$ 35.99
$ 25.20