Learning Angular A Hands-On Guide to Angular 2 and Angular 4

by ; ;
Edition: 2nd
Format: Paperback
Pub. Date: 2017-09-28
Publisher(s): Addison-Wesley Professional
  • Complimentary 7-Day eTextbook Access - Read more
    When you rent or buy this book, you will receive complimentary 7-day online access to the eTextbook version from your PC, Mac, tablet, or smartphone. Feature not included on Marketplace Items.
List Price: $39.99

Buy New

Usually Ships in 2-3 Business Days
$38.79

Buy Used

Usually Ships in 24-48 Hours
$28.79

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Online: 1825 Days access
Downloadable: Lifetime Access
$30.59
$30.59

This item is being sold by an Individual Seller and will not ship from the Online Bookstore's warehouse. The Seller must confirm the order within two business days. If the Seller refuses to sell or fails to confirm within this time frame, then the order is cancelled.

Please be sure to read the Description offered by the Seller.

Summary

Learning Angular, Second Edition

A Hands-On Guide to Angular 2 and Angular 4


Learning Angular teaches modern application development with Angular 2 and Angular 4. It begins with the basics of Angular and the technologies and techniques used throughout the book, such as key features of TypeScript, newer ES6 syntax and concepts, and details about the tools needed to write professional Angular applications.

 

The reader will next build an Angular application from scratch while learning about the primary pieces of an Angular application and see how they work together. Using lots of examples, the core parts of Angular will be introduced, such as Components, the Router, and Services.

 

The book also covers techniques like server-side rendering and how to incrementally add Angular 2+ features to existing AngularJS applications. Finally, the reader will gain insight into advanced skills that should be part of any professional Angular developer’s toolkit such as testing, tooling options, and performance tuning.

  • Understand how Angular is organized and learn best practices for designing Angular applications
  • Quickly build Angular templates with built-in directives that enhance the user experience
  • Bind UI elements to your data model, so changes to your model and UI occur automatically in tandem
  • Define custom Angular directives that extend HTML
  • Implement zoomable images, expandable lists, and other rich UI components
  • Implement client-side services that interact with web servers
  • Build dynamic browser views to provide even richer user interaction
  • Create custom services you can easily reuse
  • Implement rich UI components as custom Angular directives

Contents at a Glance


Introduction

    • What is Angular
    • Why Use Angular
    • Who this Book is For
    • How to Use this Book
    • Getting the Source Code

Chapter 1: Jumping into JavaScript

    • Setting Up a JavaScript Development Environment
    • Defining Variables
    • Understanding JavaScript Data Types
    • Using Operators
    • Implementing Looping
    • Creating Functions
    • Understanding Variable Scope
    • Using JavaScript Objects
    • Manipulating Strings
    • Working with Arrays
    • Adding Error Handling

Chapter 2: Jumping into TypeScript

    • Learning the Different Types
    • Understanding Interfaces
    • Implementing Classes
    • Implementing Modules
    • Understanding Functions

Chapter 3: Getting Started with Angular

    • Why Angular?
    • Understanding Angular
    • Separation of Responsibilities
    • Adding Angular to Your Environment
    • Using the Angular CLI
    • Creating a Basic Angular Application

Chapter 4: Angular Components

    • Component Configuration
    • Building the Template
    • Using Constructors
    • Using External Templates
    • Implementing Directives

Chapter 5: Expressions

    • Using Expressions
    • Using Pipes
    • Building a Custom Pipe

Chapter 6: Data Binding

    • Understanding Data Binding
    • Interpolation
    • Property Binding
    • Attribute Binding
    • Class Binding
    • Style Binding
    • Event Binding
    • Two-Way Binding

Chapter 7: Built-in Directives

    • Understanding Directives
    • Using Built-in Directives
    • Structural Directives
    • Attribute Directives

Chapter 8: Custom Directives

    • Creating a Custom Attribute Directive
    • Creating a Custom Directive with a Component

Chapter 9: Events and Change Detection

    • Using Browser Events
    • Emitting Custom Events
    • Using Observables

Chapter 10: Implementing Angular Services in Web Applications

    • Understanding Angular Services
    • Using the Built in Services
    • Sending HTTP GET and PUT Requests with the http Service
    • Implementing a Simple Mock Server Using the http Service
    • Changing Views with the router Service
    • Implementing a Router with a Navigation Bar
    • Implementing a Router with Parameters

Chapter 11: Creating Your Own Custom Angular Service

    • Integrating Custom Services into Angular Applications
    • Implementing a Simple Application That Uses a Constant Data Service
    • Implementing a Data Transform Service
    • Implementing a Variable Data Service
    • Implementing a Service that Returns a Promise
    • Implementing a Shared Service

Chapter 12: Having Fun with Angular

    • Implementing an Angular Application That Uses the Animation Service
    • Implementing an Angular Application That Zooms in on Images
    • Implementing an Angular Application That Enables Drag and Drop
    • Implementing a Star Rating Angular Component



Author Biography

Brad Dayley is a senior software engineer with more than 20 years of experience developing enterprise applications and web interfaces. He has used JavaScript and jQuery for years and is the author of Node.JS, MongoDB and Angular Web Development; jQuery and JavaScript Phrasebook; and Sams Teach Yourself AngularJS, JavaScript, and jQuery All in One. He has designed and implemented a wide array of applications and services, from application servers to complex web applications.

Brendan Dayley is a web application developer who loves learning and implementing the latest and greatest technologies. He is the co-author of Sams Teach Yourself AngularJS, JavaScript, and jQuery All in One and Node.JS, MongoDB and Angular Web Development. He has written a number of web applications using JavaScript, TypeScript, and Angular, and he is exploring the capabilities of new web and mobile technologies such as augmented reality and how to use them for innovative solutions.

Caleb Dayley is a university student who is studying computer science. Introduced to software development at a young age, he has taught himself much of what he knows about computer programming. He is a developer in JavaScript, Python, and C#, and is a big fan of the Unity platform. He is also the co-author of Node.JS, MongoDB and Angular Web Development. He is excited for what the future holds, and the opportunities to help design and create the next generation of innovative software that will continue to improve the way we live, work, and play

Table of Contents

Previous edition TOC

 

Introduction

Chapter 1 - Jumping Into JavaScript
Chapter 2 - Getting Started with AngularJS

Chapter 3 - Understanding AngularJS Application Dynamics
Chapter 4 - Implementing the AngularJS Scope as a Data Model
Chapter 5 - Using AngularJS Templates to Create Views

Chapter 6 - Implementing Directives in AngularJS Views

Chapter 7 - Creating Your Own Custom Directives to Extend HTML
Chapter 8 - Implementing AngularJS Services in Web Applications
Chapter 9 - Creating Your Own Custom AngularJS Services
Chapter 10 - Creating Rich Web Application Components the AngularJS Way
Chapter 11 - Testing AngularJS Applications

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.