This is the code repository for Switching to Angular - Third Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Align your work to stable APIs of Angular, version 5 and beyond, with Angular expert Minko Gechev. Angular is the modern Google framework for you to build high-performing, SEO-friendly, and robust web applications. Switching to Angular, Third Edition shows you how you can align your current and future development with Google’s long term vision for Angular. Gechev shares his expert knowledge and community involvement to give you the clarity you need to confidently switch into Angular and stable APIs.
Minko Gechev helps you square up to Angular with an overview of the framework, and understand the long term building blocks of Google’s web framework. Gechev then gives you the lowdown on TypeScript, with a crash-course so you can take advantage of Angular in its native, statically-typed environment. You’ll next move on to see how you can line up with Angular dependency injection, plus how Angular router and forms, and Angular pipes, are designed to work for your projects today and in the future.
You'll be squared up and aligned with the vision and techniques of the one Angular, and be ready to start building quick and efficient Angular applications. You’ll know how to take advantage of the latest Angular features, and the core, stable APIs that you can depend on. You'll be ready to confidently plan your future with the Angular framework.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
Note that this seed project requires node v4.x.x or higher and npm 2.14.7.
git clone --depth 1 https://github.com/mgechev/switching-to-angular.git
cd switching-to-angular
npm install
npm start
The code for the second edition could be found here.
The code will look like the following:
var result = [1, 2, 3].reduce(function (total, current) {
return total + current;
}, 0); // 6
All you need to work through most of the examples in this book is a text editor or an IDE, Node.js, internet access, and a web browser.
Each chapter introduces the software requirements for running the provided snippets.