AngularJS Custom filters with ES6