title: How to find minimum value in ng-repeat?
body: <p>Hi i'm trying to get the minimum price in my repeater. I'll add a green sign near to this list item. (as you see in code, "span class min-value")</p>
  
  <p>How can I get this minimum value and use my span as "ng-show" in my html? </p>
  
  <p>Thank you.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var app = angular.module("App", []);
  
  app.controller("Controller", function($scope) {
    $scope.priceList = [{
      "name": "Product 1",
      "price": "100"
    }, {
      "name": "Product 2",
      "price": "200"
    }, {
      "name": "Product 3",
      "price": "300"
    }, {
      "name": "Product 4",
      "price": "400"
    }, {
      "name": "Product 5",
      "price": "500"
    }];
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>li {
    padding: 10px;
  }
  .min-price {
    width: 10px;
    height: 10px;
    background: green;
    display: inline-block;
    border-radius: 50%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.min.js"&gt;&lt;/script&gt;
  &lt;html lang="en" ng-app="App"&gt;
  
  &lt;head&gt;
    &lt;meta charset="UTF-8" /&gt;
    &lt;title&gt;Document&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body ng-controller="Controller"&gt;
    &lt;ul&gt;
      &lt;li ng-repeat="item in priceList"&gt;
        {{item.name}} - {{item.price}}$
        &lt;span class="min-price" ng-show="true"&gt;&lt;/span&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>