File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 73
73
* @name $filter
74
74
* @kind function
75
75
* @description
76
- * Filters are used for formatting data displayed to the user. They can be used in view
77
- * templates, controllers or services. Angular comes with a collection of
78
- * [built-in filters](api/ng/filter), but it is easy to define your own as well.
76
+ * Filters are used for formatting data displayed to the user.
77
+ *
78
+ * They can be used in view templates, controllers or services.Angular comes
79
+ * with a collection of [built-in filters](api/ng/filter), but it is easy to
80
+ * define your own as well.
79
81
*
80
82
* The general syntax in templates is as follows:
81
83
*
82
- * {{ expression [| filter_name[:parameter_value] ... ] }}
84
+ * ```html
85
+ * {{ expression [| filter_name[:parameter_value] ... ] }}
86
+ * ```
83
87
*
84
88
* @param {String } name Name of the filter function to retrieve
85
89
* @return {Function } the filter function
You can’t perform that action at this time.
0 commit comments