AngularJSCustom filters with ES6