Useful filters for angularjs