Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Error: [jqLite:nosel] when compiling cached template #6053

Closed
@mozey

Description

@mozey

When I try to compile a template cached with

<script type="text/ng-template" id="template.html"> 

I get the error:

Error: [jqLite:nosel] Looking up elements via selectors is not supported by jqLite!

If I remove the script tag and create a file named template.html the same code works without any errors.

Here is a plunker with the code:
http://plnkr.co/edit/AM28MtrrzxHOmxgGhiA0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions