filter(name, filterFactory);
See $filterProvider.register().
Note: Filter names must be valid angular
Expressions
identifiers, such as uppercase
or orderBy
. Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace your filters, then you can use capitalization (myappSubsectionFilterx
) or underscores (myapp_subsection_filterx
). Parameters
Param | Type | Details |
---|---|---|
name | string | Filter name - this must be a valid angular expression identifier |
filterFactory | Function | Factory function for creating new instance of filter. |
Please login to continue.