Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Should the directives support variable templateUrls? #1611

Closed
@joshkurz

Description

@joshkurz

I know that it would be a simple change to allow for the directives in this repo to offer variable templates based off of the markup. As of now, the directives are hardcoded with specific urls, making it a little difficult to plug and play with Bower.

update: it also makes it impossible to use the same directive with different templates.

Here is an issue angular/angular.js#5867 brought up, which would allow for overwriting urls in $templateProvider. I believe that the templateUrls should be optionally overwritten by some attribute on the directive itself.

Is this something that you guys are looking at doing or is the templateUrl hardcoded in the directives for a reason i'm not aware of?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions