From the course: Learning Angular

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Filtering content

Filtering content - Angular Tutorial

From the course: Learning Angular

Start my 1-month free trial

Filtering content

- [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…

Contents