Fix list template for ng-if images