Enhancing Your Applications with Directives, Pipes, and Animations
When building frontend applications, we often need to enhance, transform, add, remove, or replace DOM elements and values within HTML templates. The Angular framework facilitates this through the use of directives, pipes, and animations. This chapter will explain how to create and use directives, pipes, and animations within Angular. By the end of this chapter, you will know all the ins and outs of directives, from directive composition to creating directives with powerful selectors. You will also learn about making custom pipes and using the built-in pipes effectively. Lastly, we will explore how to build and reuse animations within applications built using Angular.
This chapter will cover the following main topics:
- Using and creating Angular directives
- Transforming values using Angular pipes
- Creating and reusing stunning animations