Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

angular.js:13920 Error: loading directive templates asynchronously is not supported #3513

Open
rickhopkins opened this issue Apr 5, 2017 · 2 comments
Assignees

Comments

@rickhopkins
Copy link

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

@HampusLilja
Copy link

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?

@asednev
Copy link

asednev commented Nov 18, 2017

template cache can be used as a workaround for this issue, see https://docs.angularjs.org/api/ng/service/$templateCache

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants