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.

ng-if breaks when used inside a custom directive together with templateUrl #7183

Closed
@Schweigi

Description

@Schweigi

ng-if does not work when used inside a custom directive and the template is specified using templateUrl. When the custom directive template is specified directly using the "template" parameter then there is no problem. Additionally this problems happens only if the custom directive is inside a ng-repeat.

The bug is reproducible with Angular 1.2.16. A possible workaround is to use ng-show instead.

Sample: http://codepen.io/anon/pen/mdFAo/?editors=101

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions