angular.Module.filter()

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.

doc_AngularJS
2016-03-29 16:10:58
Comments
Leave a Comment

Please login to continue.