title: Angularjs ng-change and ng-repeat not properly working
body: <p>In ng-change the selected value  is not setting up in the ngchange function. 
  First time when I select a value its setting up as null,  and again I try to select an another value, its setting the value of the previous selected value. </p>
  
  <pre><code>    var ngInitParams = JsonConvert.SerializeObject(Model);
      var firstVarId= Model.Variants.First().ProductId;
      var firstVarName= Model.Variants.First().Name;
  
      &lt;section id="@inPageNavigationID" ng-controller="prodSpecsCtrl as main"
               ng-init="main.init('@firstVarId', '@firstVarName')"&gt;
          &lt;div class="container" ng-init="main.loadSelect('@ngInitParams')"&gt;
              &lt;div&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="col-sm-6 fieldset"&gt;
                          &lt;div class="form__item "&gt;
                              &lt;div&gt;
                                  &lt;select class="-dropdown--two-columns"  name="productvariants" id="sel1" data-placeholder="@selectOptionVal" ng-model="variant.ProductId" 
                                          ng-change="main.load('{{variant.ProductId}}','{{(main.JsonVariants.Variants | filter: {ProductId:variant.ProductId})[0].Name}}')"&gt;
                                          &lt;option value="" disabled&gt;Select Model&lt;/option&gt; 
                                          &lt;option ng-repeat="variant in main.JsonVariants.Variants" value="{{variant.ProductId}}" selected="@firstVariantId" data-option-header="{{variant.CatalogCode}}"&gt;{{variant.Name}}&lt;/option&gt;
                                  &lt;/select&gt;
                                  &lt;span class="fa fa-angle-down"&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
        &lt;section&gt;
  
  
          this.init = function (varId, varName) {
              this.load(varId, varName);
          }
          this.loadSelect = function (strjson) {
              self.JsonVariants = JSON.parse(strjson);
          }
  </code></pre>