AngularJS: OrderBy Descending (null entries)
<p>I'm using Angular JS and Google Places API to build an web app.</p>

<p>I have an <strong>ng-repeat</strong> which is currently being ordered by "rating" descending(<strong>orderBy:'-rating'</strong>). So it will list x places from the Google Places API JSON file in the descending order based on the rating. </p>

<p>HOWEVER, items/places that don't have a rating are classed as null and these entries are shown at the top of my ng-repeat feed. These should go to the bottom of the feed as they don't have a rating? </p>

<p>So an example of how i'd like this it to look is:</p>

<pre><code>&lt;ng-repeat orderBy:'-rating'&gt;
  &lt;place rating="5"/&gt;
  &lt;place rating="4.2"/&gt;
  &lt;place rating="2.8"/&gt;
  &lt;place rating="null"/&gt;
  &lt;place rating="null"/&gt;
&lt;/ng-repeat&gt;
</code></pre>

<p>What's the best way of going about this?</p>