ng2-string-replace-pipes
a collection of handy string replacement pipes for angular 2.
StringReplacePipe
extending StringReplacePipe:
// embolden text that should be emphasised semantically.// wraps StringReplaceTemplatePipe and passes in a replace method. ;;
using the because the transform method in the above pipe takes an array of RegExp as a paremeter, it needs to be passed as a property
;