angular.io
angular.io copied to clipboard
angular.js:13920 Error: loading directive templates asynchronously is not supported
It'd be nice if this was in the documentation. All my angular 1 directives used templateUrl. We're trying to go through the upgrade and when using ng1 directives they fail because of this.
http://stackoverflow.com/questions/41348403/ngupgrade-unable-to-use-templateurl-when-upgrading-angular1-components
This issue is a little bit of a showstopper for us. Is UpgradeComponent from @angular/upgrade/static supposed to work with angularjs components with templateUrl? If so, is there a time frame in which we can expect it to work?
template cache can be used as a workaround for this issue, see https://docs.angularjs.org/api/ng/service/$templateCache