title: ng-repeat - content to show if array is empty or null
body: <p>I've a deep nested ng-repeat lists, and only in the last loop I've to display alternate content if list was empty. I'm new to angular, saw some posts online please help me where can I use content if list is empty. The <code>ng-repeat=sessions in day</code> could be empty.</p>
  
  <pre><code>&lt;ul class="day"&gt;
          &lt;li ng-repeat="sessions in day"&gt;
              &lt;ul class="table-view"&gt;
                  &lt;li class="table-view-cell" ng-repeat="(heading, session) in sessions"&gt;
                      &lt;span class="group"&gt;{{heading}}&lt;/span&gt;
                      &lt;ul class="cell"&gt;
                          &lt;li class="cell-content" ng-repeat="val in session" ng-click="getSession(val.id)"&gt;
                              &lt;div class="time" style="background-color:#{{val.color}}"&gt;
                                  &lt;span&gt;{{val.start | date:"h:mma"}}&lt;/span&gt;
                                  &lt;span&gt;to&lt;/span&gt;
                                  &lt;span&gt;{{val.end | date:"h:mma"}}&lt;/span&gt;
                              &lt;/div&gt;
                              &lt;div class="session" ng-class-odd="'odd'" ng-class-even="'even'"&gt;
                                  &lt;span class="name"&gt;{{val.name}}&lt;/span&gt;
                                  &lt;span class="room"&gt;Room: {{val.room}}&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  </code></pre>