Help plz. for use ng-if

My Site

   project: [
              title: 'title A',
              show: true,
              title: 'title B',
              show: false,

I use on file theme.

     <div ng-repeat="item in items" class="item">
        <img src="img/star.png" ng-if="">

I have problem is undefined

What’s the link between your json file and the items object? Can you post the code from your controller?

1 Like

Yes, items is Object.

I’m fix already. Thank You