Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was 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

Description

@rickhopkins

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

Activity

  1. HampusLilja commented on Oct 25, 2017

    @HampusLilja

    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?

  2. asednev commented on Nov 18, 2017

    @asednev

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions