Karma ng2html preprocessor, adding regex support