Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-graphql domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114 Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114 Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pods domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6114) in /var/www/html/wp-includes/rest-api/class-wp-rest-server.php on line 1893 {"id":1454,"date":"2023-05-22T03:26:25","date_gmt":"2023-05-22T03:26:25","guid":{"rendered":"https:\/\/www.sifars.com\/blog\/?p=1454"},"modified":"2024-03-27T03:38:46","modified_gmt":"2024-03-27T03:38:46","slug":"what-are-pipes-in-angular","status":"publish","type":"post","link":"https:\/\/srafis.sifars.com\/index.php\/2023\/05\/22\/what-are-pipes-in-angular\/","title":{"rendered":"What are Pipes in Angular?"},"content":{"rendered":"Reading Time: <\/span> 3<\/span> minutes<\/span><\/span>\n

What are Pipes in Angular? A pipe is a small gateway that allows passage of liquids, and other things- anyone or anything that would like to move.\u00a0In Angular, Angular Pipes play the role of data transformation. They systematically take the Input data, solve for the queries and produce a transformed Input on the other side of the pipe.<\/p>\n\n\n\n

A clear picture<\/h3>\n\n\n\n

Pipes are simply a function that we can directly apply on any expression\/value in a template to transform it into some other value. The value on which we are applying the pipe is the input for our pipe function. The value returned from that function will be replaced in place original value.<\/p>\n\n\n\n

The following picture is self-explanatory and says it all-<\/p>\n\n\n\n

\"\"\/<\/figure><\/div>\n\n\n\n

Certainly it portrays that pipe helps transform the data of the input value and reusability. It organically takes the data as input and represents the output by subsequently transforming it.<\/p>\n\n\n\n

Let’s dig in deeper to start with,<\/p>\n\n\n\n

Built-in pipes in Angular<\/h2>\n\n\n\n

Angular comes with many built-in pipes. Some of them include:<\/p>\n\n\n\n