In order to help you perform your search, you need to learn about pipes. Angular has some built-in directives that help you filter content, but most of the time you need to learn how to create your own.
- [Instructor] In order to help us perform our search,…we're going to need to learn about pipes.…Angular has some built-in pipes…but they're a little bit lame,…so they're only useful if you want to do dates…or maybe a couple of other transformations.…So for anything substantial,…you're going to need to learn to build your own.…Angular pipes are good for,…as I mentioned, a couple of things,…including formatting dates and maybe modifying text,…like converting it to uppercase or lowercase,…but most of that can be accomplished with CSS these days,…so that's not too useful.…
If you want to, you can generate…your own pipes with the CLI,…and that can be the quickest way to create a pipe…'cause just like with components,…there's a lot of different connections that need to happen.…And it's going to give you a nice template…to do your transformations,…so the scripts you'll have to write will be a lot simpler.…They're a little bit similar to components…but they appear at the same level as your main component.…Once you set things up with CLI,…
- What is Angular?
- Working with templates and events
- Using CLI generated components
- Binding data to templates
- Working with two-way data binding
- Using lifecycle methods
- Creating subcomponents