Book Image

Mastering Angular Components - Second Edition

By : Gion Kunz
Book Image

Mastering Angular Components - Second Edition

By: Gion Kunz

Overview of this book

Mastering Angular Components will help you learn how to invent, build, and manage shared and reusable components for your web projects. Angular components are an integral part of any Angular app and are responsible for performing specific tasks in controlling the user interface. Complete with detailed explanations of essential concepts and practical examples, the book begins by helping you build basic layout components, along with developing a fully functional task-management application using Angular. You’ll then learn how to create layout components and build clean data and state architecture for your application. The book will even help you understand component-based routing and create components that render Scalable Vector Graphics (SVG). Toward the concluding chapters, you’ll be able to visualize data using the third-party library Chartist and create a plugin architecture using Angular components. By the end of this book, you will have mastered the component-based architecture in Angular and have the skills you need to build modern and clean user interfaces.
Table of Contents (12 chapters)

Projects dashboard

In this chapter, we'll create a projects dashboard, which will consist of the following components:

  • Projects dashboard: This is the main component in the dashboard and represents our whole dashboard view. It's a composition of the rest of the components.
  • Project summary: This is where we'll display a summary of each project, where we will outline the most important facts. Our project summary component will also include an activity chart component that visualizes project activities.
  • Projects dashboard container: We also need to create a new container component, to expose our new component tree to the router and connect it to our database.
  • Tasks chart: This is where we'll provide a visual overview of open tasks over time. All projects will be represented in a line chart that displays the progress of open tasks. We'll also provide some...