Always Learning

Advanced Search

Learning Angular

Learning Angular

A Hands-On Guide to Angular 2 and Angular 4
2nd Edition

Brad Dayley, Brendan Dayley, Caleb Dayley

Oct 2017, Paperback, 240 pages
ISBN13: 9780134576978
ISBN10: 0134576977
Special online offer - Save 30%
Was 29.99, Now 20.99Save: 9.00
  • Print pagePrint page
  • Email this pageEmail page
  • Share

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.


• 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 Development Environment

• Defining Variables

• Understanding JavaScript Data Types

• Using Operators

• Applying Comparison and Conditional 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 (differences from JavaScript)

• Understanding Generics

Chapter 3: Getting Started with Angular

• Why Angular?

• Understanding Angular

- Modules

- Components

- Templates

- Data Binding

- Dependency Injection

- Services

- Directives

- Routing

- Http Client

- Metadata

• Separation of Responsibilities

• Adding AngularJS to Your Environment

• Creating a Basic Angular Application

Chapter 4: Angular Components

• Defining the Selector

• Building the Template

• Injecting Directives

• The Component Factory

Chapter 5: Expressions

• Using Double Curly Braces

• Understanding the Context

• Using Piping To Transform Output

Chapter 6: Databinding

• Implementing One-Way Data Binding

• Implementing Two-Way Data Binding

• Implementing Binding Types Data Binding

Chapter 7 Built in Directives

• Understanding Directives

• Using Built-in Directives

Chapter 8: Custom Directives

• Understanding Custom Directive Definitions

• Implementing Custom Directives

Chapter 9: Events and Change Detection

• Using Browser Events

• Handling User Interaction Events

• Using Change Detection

• Creating Custom Events

Chapter 10: Services

• Understanding Angular Services

• Using Built in Services

Chapter 11: Custom Services

• Understanding Custom Services

• Creating Custom Services

• Implementing Custom Services

Chapter 12: Building an Application

  • Overcome key problems in large-scale single-page app development, including code complexity, bad performance, and poor developer productivity
  • Not just another Angular reference: teaches sophisticated problem solving through software user stories, use cases, and example implementations -- from simple to advanced
  • Prepare for Angular's complete technology rewrite

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