
- 464 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Angular 2 Cookbook
About this book
Discover over 70 recipes that provide the solutions you need to know to face every challenge in Angular 2 head on
About This Book
- A first-rate reference guide with a clear structure and intuitive index that gives you as a developer exactly the information you want in exactly the way you want it
- Covers no legacy material from the outdated Angular release candidates; it is up-to-date with the latest release of Angular 2.4
- All the code in the book is explicitly written out, and every piece of code shown is a step towards building a simple working example
Who This Book Is For
This book is for developers who are competent with JavaScript and are looking to dive headfirst into the TypeScript edition of Angular 2. This book is also geared towards developers with experience in Angular 1 who are looking to make the transition.
What You Will Learn
- Understand how to best move an Angular 1 application to Angular 2
- Build a solid foundational understanding of the core elements of Angular 2 such as components, forms, and services
- Gain an ability to wield complex topics such as Observables and Promises
- Properly implement applications utilizing advanced topics such as dependency injection
- Know how to maximize the performance of Angular 2 applications
- Understand the best ways to take an Angular 2 application from TypeScript in a code editor to a fully function application served on your site
- Get to know the best practices when organizing and testing a large Angular 2 application
In Detail
Angular 2 introduces an entirely new way to build applications. It wholly embraces all the newest concepts that are built into the next generation of browsers, and it cuts away all the fat and bloat from Angular 1. This book plunges directly into the heart of all the most important Angular 2 concepts for you to conquer. In addition to covering all the Angular 2 fundamentals, such as components, forms, and services, it demonstrates how the framework embraces a range of new web technologies such as ES6 and TypeScript syntax, Promises, Observables, and Web Workers, among many others.
This book covers all the most complicated Angular concepts and at the same time introduces the best practices with which to wield these powerful tools. It also covers in detail all the concepts you'll need to get you building applications faster. Oft-neglected topics such as testing and performance optimization are widely covered as well. A developer that reads through all the content in this book will have a broad and deep understanding of all the major topics in the Angular 2 universe.
Style and approach
This book follows a cookbook approachāeach recipe presents a unique problem to which the solution is presented in a clear, concise, and manner step-by-step manner. With practical hands-on guidance in each and every recipe, you'll be able to get to grips with the concepts.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Angular 2 Cookbook
Angular 2 Cookbook
Credits
| Author Matt Frisbie | Project Coordinator Ritika Manoj |
| Reviewer Patrick Gillespie | Proofreader Safis Editing |
| Acquisition Editor Vinay Argekar | Indexer Francy Puthiry |
| Content Development Editor Arun Nadar | Graphics Kirk D'Penha |
| Technical Editor Vivek Arora | Production Coordinator Deepika Naik |
| Copy Editor Gladson Monteiro | Cover Work Deepika Naik |
About the Author
Writing a book on Angular 2 while the framework itself was unfinished was an immensely challenging endeavor. Fragmented examples, incomplete documentation, and a nascent developer community were just a handful of the many roadblocks I encountered on the journey to finishing this title, and it was only because of a legion of supporters that this book was finished and was able to do justice to the framework.
This book would not have been possible without the tireless work of all the Packt staff involved. I'd specifically like to thank Arun Nadar, Vivek Arora, Merwyn D'Souza, and Vinay Argekar for their editorial oversight and expertise, as well as Patrick Gillespie for his work as content reviewer. I'd also like to thank Jordan, Zoey, Scott, and my family and friends for cheering me on.
About the Reviewer
www.PacktPub.com

Why subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print, and bookmark content
- On demand and accessible via a web browser
Customer Feedback
Dedication
To my grandparents, Richard and Margery. Here's to upholding the family honor.
Preface
"Everybody has a plan until they get punched in the mouth." -Mike Tyson, undisputed heavyweight champion boxer
What this book covers
Table of contents
- Angular 2 Cookbook