title: Unable to show div from ng show
body: <p>I am a new bee in angularjs and i get problem to show div through angularjs. However value are changed in subheaddiv(index) function but do not reflect in html.</p>
  
  <p>Html Snipped:-</p>
  
  <pre><code> &lt;div ng-repeat="details in feeHeadDetails"&gt;
    &lt;h4 class="panel-title"&gt;
          {{details.name}}
               &lt;div ng-show="{{details.add}}"&gt;
                    &lt;div ng-click="**subheaddiv($index)**" class="pull-right"&gt;
                     &lt;div class="col-xs-12"&gt;
                         &lt;button class="btn btn-primary"&gt;&lt;i class="fa fa-plus"&gt;&lt;/i&gt;Add Sub Head&lt;/button&gt;
                      &lt;/div&gt;
                   &lt;/div&gt;
                 &lt;div ng-show="{{details.deletable}}" class="pull-right"&gt;
                   &lt;div class="col-xs-12"&gt;
                       &lt;button headid="{{details.id}}" ng-click="deleteHead($event, $index)" class="btn btn-danger"&gt;Delete&lt;/button&gt;
                         &lt;/div&gt;
                   &lt;/div&gt;
                  &lt;/div&gt;
             &lt;/h4&gt;
  </code></pre>
  
  <p>Angular Script: </p>
  
  <pre><code> $scope.subheaddiv = function (index) {
     $scope.feeHeadDetails[index].add = false;
     $scope.feeHeadDetails[index].save = true;
     console.log($scope.feeHeadDetails[index]);
   };
  </code></pre>