Karma throws error: Can not load “ng-html2js”, it is not registered

In my cases, the problem was connected to lack of karma-ng-html2js-preprocessor inside karma config plugins sections. In tutorials I saw that you don’t need to add 'ng-html2js' inside plugins, but for me it doesn’t work without it.

Leave a Comment