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.

ngClass doesn't work with ngInclude anymore #4169

@27leaves

Description

@27leaves

I updated from 1.0.7 to 1.2.0RC2 and noticed that the ng-class doesn't work together with ng-include.

I had to change

template = '<span class="list-icon-small grey" ng-include="\'assets/icons/icons-background.svg\'" ng-class="{show: !isPending}" />'

to

template = '<span ng-class="{show: !isPending}"><span class="list-icon-small grey" ng-include="\'assets/icons/icons-background.svg\'" /></span>'

ng-include worked always, just the ng-class didn't work anymore.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions