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.

ngTransclude on table element inserts illegal markup #3241

Closed
@mklew

Description

@mklew

Issue originated from my question
https://groups.google.com/forum/#!topic/angular/eqGcOcQMAt4

On the first plnkr you see that when ngRepeat is used within table element without ngTransclude then everything works fine.

Here you can see that it works when there is no transclusion on 'mmtable' directive and ngRepeat is part of its template. Also 'mmtable' priority has been changed so that it compiles before ngRepeat.

ngTransclude inserts illegal markup inside table element. Concretely it inserts span element. Template becomes weird and ngRepeat doesn't work.

<table table="" class="table table-stripped table-bordered table-hover ng-isolate-scope ng-scope" props="props" service="service" expose-as="exposeAs" ng-transclude="">


            <!-- this for some reason does not work --><span class="ng-scope ng-binding">




    </span></table>

Kind regards to BahamutWC for pointing out that this is really bug.

Metadata

Metadata

Assignees

No one assigned

    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