
Angular 2 Components
by Nir Kaufman, Thierry Templier
Key Features
- First look to the Angular 2 Components architecture
- Creating your own Angular 2 Component
- Integrating your components with third party components
Book Description
This book is a concise guide to Angular 2 Components and is based on the stable version of Angular 2. You will start with learning about the Angular 2 Components architecture and how components differ from Angular directives in Angular 1. You will then move on to quickly set up an Angular 2 development environment and grasp the basics of TypeScript. With this strong foundation in place, you will start building components.
The book will teach you, with an example, how to define component behavior, create component templates, and use the controller of your component. You will also learn how to make your components communicate with each other. Once you have built a component, you will learn how to extend it by integrating third-party components with it. By the end of the book, you will be confident with building and using components for your applications.
What you will learn
- Break your application into reusable dynamic components
- Take advantage of TypeScript in Angular 2
- Migrate your Angular 1 directive to an Angular 2 Component
- Understand the Angular 2 component structure and APIs
- Hook to component life cycle events
- Bind dynamic data to your component properties
- Communicate with other components using events
- Compose complicated UIs from simple components
About the Author
Nir Kaufman is the Head of Angular Development at 500Tech, a leading front-end consultancy in Israel. He is a passionate JavaScript developer, an international speaker, and an Angular evangelist.
Nir runs three local Angular community meetup groups in Israel. He also collaborates with other local Angular communities around the world.
Thierry Templier is a senior full stack developer with 17 years of experience. He has been a JavaScript addict for a long time now and started to work with the early versions of the language. He has a particular passion for Angular 2 and loves to help developers to use this framework, particularly on the StackOverflow website, where he has answered more than 1,900 questions.
He also enjoys writing articles to promote and explain Angular 2's specific features on his blog (https://medium.com/@ttemplier/) and on the Restlet blog (http://restlet.com/blog/author/thierry-templier/).
Table of Contents
- Angular 2 Component Architecture
- Setting Up an Angular 2 Development Environment with angular-cli
- The TypeScript Primer
- Building a Basic Component
- Building Dynamic Components
- Component Communication
- Putting It All Together
- Integrating Third-Party Components
- Angular 2 Directives
Discuss Angular 2 Components with other readers
Join or start a book club for Angular 2 Components on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.
Frequently asked questions
How do I join a book club for Angular 2 Components?
Sign up free on Readfeed, then browse public clubs or start your own club with Angular 2 Components as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.
Can I discuss Angular 2 Components with other readers online?
Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Angular 2 Components with readers worldwide — whether your club is virtual, in-person, or hybrid.
Is Readfeed free?
Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.