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:              for(i = 0; i < $scope.labels.length; i++){          //update labels 
                  for(j = 0; j < $scope.labels[i].notes.length; j++){
                    if($scope.labels[i].notes[j].eid == data.eid){
                      if($scope.labels[i].eid == $scope.selectedLabel){
                        pLabel = $scope.labels[i];
                      }
                      $scope.labels[i].notes.splice(j,1);
                      $scope.labels[i].item = $scope.labels[i].item - 1;
                    }
                  }
               }
               console.log(pLabel);
               $scope.changeLabel(pLabel);
               $scope.checkList = [];
               $scope.setZeroNotes();
            });
            res.error(function(data, status, headers, config) {
            });
  