I am attempting to use a custom pipe to take in a int value and then return a material design icon based on that int.
HTML:
{{item.MetGoal | NumberToStatusSymbol}}
TypeScript/JS:
transform(value, args?) {
    switch (value){
        case '0':
            return $.parseHTML(`<i class="material-icons text-red"></i>;`);
        case '1':
            return $.parseHTML(`<i class="material-icons text-green"></i>`);
        case '2':
            return $.parseHTML(`<i class="material-icons text-yellow"></i>`);
        default: break;
    }
}
However when the page loads its only showing [object HTMLElement] instead of the actual HTML element listed in the return.
 
     
    