Ng-repeat not working expression shows and then disappears immediately
<p>I am creating a list of users on this page using ng-repeat. When the page is refreshed the expression that is supposed to appear shows up for a split second and then disappears without any trace of the object that should be repeated. This is the code</p>

<pre><code>&lt;div class="row" data-ng-controller="createUserProfileController as dashboard"&gt;
    &lt;h2 class="text-center"&gt;Find Students Near By&lt;/h2&gt;
    &lt;hr /&gt;
                &lt;div class="col-md-6" id="map-canvas"&gt;&lt;/div&gt;

    &lt;div class="col-md-4 pull-right"&gt;
        &lt;div class="panel-success"&gt;
            &lt;div class="panel-heading"&gt;
                &lt;h3 class="text-center"&gt;List of Datalus Users&lt;/h3&gt;
            &lt;/div&gt;
            &lt;hr /&gt;
            &lt;div ng-repeat="userProfile in dashboard.items" class="panel"&gt;
                &lt;div class="panel-heading"&gt;
                    &lt;h4 class="panel-title text-center"&gt;
                        &lt;a data-parent="#accordion1" href="/courses/moreinfo/{{userProfile.id}}"&gt;
                            {{userProfile.firstName}}
                        &lt;/a&gt;
                    &lt;/h4&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;&lt;!-- /.cols --&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>