Webpack doesnt parse the templateUrl in above code sample and it doesn't bundle the template file thus serve:dist doesn't work properly (errors below).
The correct code should look like this:
GET http://localhost:3000/app/containers/MainWrapper.html 404 (Not Found)
Error: [$compile:tpload] Failed to load template: app/containers/MainWrapper.html (HTTP status: 404 Not Found)
http://errors.angularjs.org/1.5.8/$compile/tpload?p0=app%2Fcontainers%2FMainWrapper.html&p1=404&p2=Not%20Found
at vendor-80bbc66….js:21
at handleError (vendor-80bbc66….js:25)
at processQueue (vendor-80bbc66….js:25)
at vendor-80bbc66….js:25
at Scope.$eval (vendor-80bbc66….js:25)
at Scope.$digest (vendor-80bbc66….js:25)
at Scope.$apply (vendor-80bbc66….js:25)
at done (vendor-80bbc66….js:24)
at completeRequest (vendor-80bbc66….js:24)
at XMLHttpRequest.xhr.onload (vendor-80bbc66….js:24)
Prerequisites
The fountain-angular1:component subgenerator creates something like this:
Description
Webpack doesnt parse the templateUrl in above code sample and it doesn't bundle the template file thus serve:dist doesn't work properly (errors below). The correct code should look like this:
Error Message & Stack Trace
Config
Environment