Hello,,you can through this links:
1) https://dzone.com/articles/angularjs-how-create-custom
2) https://toddmotto.com/everything-about-custom-filters-in-angular-js/
3) http://hello-angularjs.appspot.com/angularjs-create-custom-filter
4) https://www.codeproject.com/Tips/829025/How-to-Create-Custom-Filters-in-AngularJs