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

Using ng-if on a root element of a directive with replace: true creates a broken scopeΒ #9932

@ctide

Description

@ctide

Defining a directive with replace: true and an ng-if on the root element of the template creates a broken scope underneath that element.

This fiddle should describe the behavior pretty clearly: http://jsfiddle.net/1op3L9yo/38/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions