I have a simple and strange question. I have a drop box list that i made with ng-repeat. (Below code)
 <ul>
 <li ng-repeat="item in formLIST.ContractType">
    <input  type="checkbox" ng-click="checkItems(item)" value={{item.ls_ItemIndex}} >{{item.ls_ItemValue}}
 </li>
 </ul>
And this is my Angularjs code (Below)
$scope.listitem=[];
$scope.checkItems = function (item) {
    $scope.listitem.push({
        item: item.ls_ItemValue      
    });
And my question is this: I want to know, when i check OR uncheck these beautiful small boxes, it adds or remove the value of it in my JSON file.
And now when i click on my check boxes, it will be add in my JSON. But if i click on it again for unchecked it, it will be add again in my JSON file. My code can add them several times. except remove it. And i want to add these beautifuls just once.
 
     
    