anchor.diff:        <div>
           <ul class="list-group">
                 <li class="list-group-item" ng-repeat="x in showingNotes track by $index" ng-click="showNote(x)"><input type="checkbox" ng-click="checkNote(x)" ng-model="x.selected">{{x.subject}}<br>{{x.content}}</li> 
  -              <li class="list-group-item" ng-show="zeroNotes"> No note exist here. </li>
  +              <li class="list-group-item" ng-hide="showingNotes.length"> No note exist here. </li>
           </ul> 
         </div>
   
  
positive.code:                  }
                }
             }
             console.log($scope.showingNotes);
             $scope.setZeroNotes();
          };
  
          $scope.setZeroNotes = function() {
              if ($scope.showingNotes.length == 0) {
                 $scope.zeroNotes = true;
              } else {
  
negative.code:           var res = $http.post('notes/delete',dataObj);
            
            res.success(function(data, status, headers, config) {
               var i, j, pLabel;
               for(i = 0; i < $scope.notes.length; i++){            // update all
                  if( $scope.notes[i].eid == data.eid ){
                    $scope.notes.splice(i,1);
  