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.

ngIf on directive replace true conflicts with ngIf on top element of directive #10235

Closed
@frfancha

Description

@frfancha

Plunker: http://plnkr.co/edit/dsOKuusM1D2PEs9qpHVi?p=preview
Basically, if you have:
myDirective ng-if="condition"
and in the directive (with replace true), as top element:
div ng-if="some other condition"
angular makes a mix between the ng-if and fails.
I would expect that the ng-if on myDirective is handled, and if true then myDirective is processed to replace the tag without collision.
Or perhaps is it just a not supported configuration?

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