title: I am not able to select a default value for dropdown using angular filter
body: <p>I am trying to add default value to ng-option but I am not able to do so.
  Here is my code
       
                     </p>
  
  <pre><code>var app = angular.module('jobs',[]).constant('API_URL', 'http://localhost:8000/');
  
  app.controller('jobsController', function($scope, $http, API_URL, $timeout){
      $scope.selectedItem = "Years";
      console.log("hihi");
  });
  
  angular.module('jobs').filter("minmax", function(){
      return function(arr, min, max){
          min = parseInt(min);
          max = parseInt(max);
          for(var i =min; i &lt;= max; i++){
              arr.push(i);
          }
          return arr;
      };
  });
  
  
  &lt;div class="m-banner-1" ng-controller="jobsController"&gt;
      &lt;select class="ui fluid normal dropdown" data-ng-model="selectedItem"
               ng-options="opt as opt for opt in [] | minmax:0:30"&gt;
      &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here's <a href="https://plnkr.co/edit/OFJa1AaGcdxBPc4WElBz?p=preview" rel="nofollow noreferrer">a link</a>!</p>
  
  <p>I want "Years" selected as default </p>
  
  <p>Please help</p>