ng-selected does not work with ng-repeat to set default value
<p>I am trying to set default value of options 
I am using select and ng-repeat. I do get data in js file and I do call model to set value there. </p>

<p>Please have a look for below code : </p>

<pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;title&gt;Example - example-ngrepeat-select-production&lt;/title&gt;


  &lt;script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.0-rc.2/angular.min.js"&gt;&lt;/script&gt;
  &lt;script src="app.js"&gt;&lt;/script&gt;



&lt;/head&gt;
&lt;body ng-app="ngrepeatSelect"&gt;
  &lt;div ng-controller="ExampleController"&gt;
  &lt;form name="myForm"&gt;
    &lt;label for="repeatSelect"&gt; Repeat select: &lt;/label&gt;
    &lt;select  ng-model="datamodel"&gt;
      &lt;option ng-repeat="dataitem in data"
                ng-selected ="{{dataitem == datamodel}}"&gt;{{dataitem}}&lt;/option&gt;
    &lt;/select&gt;
  &lt;/form&gt;
  &lt;hr&gt;
  &lt;tt&gt;repeatSelect = {{datamodel}}&lt;/tt&gt;&lt;br/&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>app.js file </p>

<pre><code>(function(angular) {
  'use strict';
angular.module('ngrepeatSelect', [])
  .controller('ExampleController', ['$scope', function($scope) {
    $scope.data = [1,2,3,4,5];

    $scope.datamodel = 2;
 }]);
})(window.angular);
</code></pre>

<p>Here is my <a href="http://plnkr.co/edit/ccFbzImRMbn8T1LHlDys?p=preview">plunker</a></p>