karma-ng-html2js-preprocessor icon indicating copy to clipboard operation
karma-ng-html2js-preprocessor copied to clipboard

A Karma plugin. Compile AngularJS 1.x and 2.x templates to JavaScript on the fly.

Results 79 karma-ng-html2js-preprocessor issues
Sort by recently updated
recently updated
newest added

Currently in log i have information that some files was processed. I want to see unter whic module are these files exported. Now: DEBUG [preprocessor.html2js]: Processing "/home/view/directive.html". Proposal: DEBUG [preprocessor.html2js]:...

type: feature
PR please

This patch implements another config option to the html2js preprocessor, namely it allows the user to transform paths via a list of regexps, instead of passing the cacheIdFromPath callback. The...

needs: review

Tried wrapping my head around the coffescript tests, but couldn't come up with anything useful. Help appreciated =)

needs: feedback-from-author

I think it would be useful to provide something like `templateWrapper` option, which will be able to wrap the output, it would make it possible to simplify generation of RequireJS/SystemJS/etc....

When issuing a HTTP GET with arguments: Ex. myapp/index.html?v=1.0 it fails with error: ``` Error: Unexpected request: GET myapp/index.html?v=1.0 adding a prependSufix in createHtml2JsPreprocessor fixes this: ...createHtml2JsPreprocessor ... { ......

in this commit there is a TODO with the intention to remove registering as html2js https://github.com/karma-runner/karma-ng-html2js-preprocessor/commit/1d3cb4d1c973e35a7653d51833c0e173cf5739bb It'd be really nice to make that a TODONE :) as it conflicts with...

type: bug

Hello, I lost some time because I forgot to install this node mode (but using it in Karma). The error was misleading because I saw in Karma logs: PhantomJS 1.9.2...

type: feature
type: docs

For most text encodings, **ng-html2js** will produce an entry in the template cache containing a properly encoded string. However, I found in the past that when using templates encoded with...

type: bug
needs: investigation

Hi, Unless I'm missing something, I can't seem to get absolute paths for my templates. Both prependPrefix and cacheIdFromPath strips the initial `/`. I'm using Angular in some Drupal modules...

type: bug