I'm trying to highlight a couple of keywords that are present in this.$rules . However I'm not able to get the final output . Can you please tell me what I'm missing here?
This is what I have tried inside an Angular component
Please check this stackblitz
I would appreciate your help . Thanks in advance !