I'm using AngularJS 1.X with Webpack2 and i'm trying to use angularjs-toaster but when i run gulp serve it fails because failed to load template: angularjs-toaster/toast.html
I know that this library is using $templateCache to inject the view, but for some reason the app doesn't recognize the template path.
Error Message & Stack Trace
angular.js:14525 Error: [$compile:tpload] Failed to load template: angularjs-toaster/toast.html (HTTP status: undefined undefined)
http://errors.angularjs.org/1.6.4/$compile/tpload?p0=angularjs-toaster%2Ftoast.html&p1=undefined&p2=undefined
at angular.js:66
at handleError (angular.js:19992)
at processQueue (angular.js:16832)
at angular.js:16876
at Scope.$digest (angular.js:17971)
at Scope.$apply (angular.js:18269)
at bootstrapApply (angular.js:1917)
at Object.invoke (angular.js:5003)
at doBootstrap (angular.js:1915)
at bootstrap (angular.js:1935)
Description
I'm using AngularJS 1.X with Webpack2 and i'm trying to use angularjs-toaster but when i run
gulp serve
it fails because failed to load template: angularjs-toaster/toast.html I know that this library is using$templateCache
to inject the view, but for some reason the app doesn't recognize the template path.Error Message & Stack Trace
Config
Code
index.js
index.scss
newForm.component.js
newForm.component.html
Environment