title: Repeat Array within single JSON object (Ioinc 2)
body: <p>I have a JSON object that has an array of ingredients within, I want to repeat each object into an <code>&lt;li&gt;</code> so I can list them out. The area I want to repeat is the &quot;ingredientLines&quot;</p>
  <p>My JSON is<a href="https://i.stack.imgur.com/QpxV4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QpxV4.png" alt="enter image description here" /></a></p>
  <p>My current code is, I currently just get all 10 objects listed out in a single <code>&lt;li&gt;</code></p>
  <pre><code>&lt;ion-content&gt;
      &lt;ion-list&gt;
          &lt;ion-item&gt;
              &lt;div class=&quot;thumb&quot;&gt;
                  &lt;ion-img src=&quot;{{api?.images[&quot;0&quot;].hostedLargeUrl}}&quot;&gt;
                  &lt;h1&gt;{{api?.name}}&lt;/h1&gt;
              &lt;/div&gt;
              &lt;div class=&quot;action-bar&quot;&gt;
                  &lt;div class=&quot;like&quot;&gt;
                  &lt;/div&gt;
                  &lt;div class=&quot;time&quot;&gt;
                      &lt;span&gt;{{api?.totalTime}}&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class=&quot;share&quot;&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class=&quot;ingredients&quot; ng-repeat=&quot;items in api&quot;&gt;
                  &lt;ul&gt;
                      &lt;li&gt;{{api?.ingredientLines}}&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/ion-item&gt;
      &lt;/ion-list&gt;
  &lt;/ion-content&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/azzmS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/azzmS.png" alt="enter image description here" /></a></p>
  <p>If someone could point out where I'm going wrong that would be great!</p>