teux / ng-cache-loader

Webpack loader to put HTML partials in the Angular's $templateCache.
83 stars 15 forks source link

cannot find module - Angular curly braces #36

Open AyodejiO opened 6 years ago

AyodejiO commented 6 years ago

Hello @teux

Kindly assist. Webpack 3.10.0 throws an error when processing the html files.

angular curly braces output are rendered as modules instead

e.g.

These relative modules were not found: * ./\"{{edit.picture}}\" in ./resources/views/partials/ep/user/me.html

AyodejiO commented 6 years ago

I realized I have to use ng-src with html img tags for it to work. However, templateCache doesn't load these html files.

teux commented 6 years ago

Hello

I need a full example to help you. I have not used Angular for a long time and do not know what is happening here