title: How to use ng-repeat when we need to display two array one is normal string another is image
body: <p>I have two array which is given below</p>
  
  <pre><code>$scope.base64Array=[null, null, "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQ…cmnAgj0PvTTgZJ5osK4w8dahc1MTnOMcnionwR2JNKwXP/9k=", null, null, null];
  $scope.products=["Wheat", "LCD Monitor", "Ethernet Cable", "Optical Mouse", "Rice", "Mac Mini RAM 4 GB"];
  </code></pre>
  
  <p>Here I have an null value in base64array if it is null then no need to display image and if i have base64 string i need to display in that image row</p>
  
  <p>and my ionic view looks like</p>
  
  <pre><code>&lt;ul class="list"&gt;
  
      &lt;li class="item" ng-repeat="i in products" ui-sref="leadProduct" &gt;
          {{i}}
          &lt;br&gt;
          &lt;img ng-show="imgURI === undefined" ng-src="http://placehold.it/100x100"&gt;
  
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>