export function QCategoryFilter(qcategory){
    'ngInject';
    let object=qcategory;
    return function( input ){
        if(object[input].name){
            return object[input].name;
        }
        else {
            return input;
        }
    }
}
