Angular 2: From Theory To Practice

Angular 2: From Theory To Practice

English | 2017 | 711 Pages | EPUB, MOBI, PDF (conv) | 11 MB

Updated to the Angular 2.4.3 released in January 2017.
After reading this book, you are going to be able to:

  • Understand the latest features of ES6 JavaScript and TypeScript.
  • Build an Angular 2 application from scratch using TypeScript and the Angular command line interface.
  • Write code using the paradigm of reactive programming with RxJS and Observables.
  • Know how to Unit Test Angular 2 using Jasmine, Karma and the Angular Test Bed

The first chapter in the course is a quickstart where you dive straight into writing your first Angular 2 application. We use the web editor plunker so you can get stuck in writing code ASAP.
In this quickstart you’ll get a 50,000 foot view of the major features of Angular 2.
Then chapter by chapter we go much deeper into each of these features. I’ll cover the theory for that feature, using plunker as much as possible so you can try out the code yourself in a browser. Then you’ll practice what you’ve learnt with either an online quiz or a set of flash cards.
You are going to learn all about:-

  • Typescript & ES6 Javascript.
  • Components & Binding
  • Directives
  • Dependancy Injection & Services
  • Angular Modules & Bootstrapping your Angular application.
  • SPAs & Routing
  • Angular CLI
  • Forms
  • Reactive Programming with RXJs
  • HTTP
  • Unit Testing

The ideal student is an existing web developer, with some JavaScript knowledge that wants to add Angular 2 to their skill set. Or perhaps you are an existing Angular 1 developer who wants to level up to Angular 2.
You do need to be comfortable with at least the ES5 version of JavaScript. We’ll be using a UI framework called twitter bootstrap throughout the course but you still must know HTML and some CSS.