I have the following code: https://plnkr.co/edit/tZdVOELNOVRw9zhCa4M1?p=preview 1. You can see that the first line of photos that `ng-if` on the `<cl-image>` tag works fine - when `true` the image is shown, when `false` the image isn't showing. 1. In the second line of photos, the `ng-if` condition is completely ignored - both in the case of `true` and in `false` the transformation isn't applied.