Summary

In this chapter, we zoomed in on component templates, and on what template syntax was available to us for creating them. Our template syntax included symbols, directives, and pipes.

We've seen that directives are just templateless components, and they come in two main flavors—attribute directives, and structural directives. Whatever their flavor or category, we associate (or attach) directives to HTML elements by adding them as attributes of those elements.

We've gone over the following special symbols that we can use in our template syntax. We've also covered the built-in directives that we can use in our template syntax. Next, we covered event binding, as well as property binding, and finally, we covered pipes, which provide us with the means to format our data so that it can be rendered to our views in the way we desire.

We know that Angular is extensible and that it provides us with mechanisms to create custom directives, as well as custom pipes—but we are deferring our discussion of anything custom to Chapter 14, Advanced Angular Topics

In the next chapter, Chapter 8, Working with NG Bootstrap, we're going to put our component hats back on our heads so that we can explore what ng-bootstrap brings to the table for us in building our Angular applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.89.238