title: delete the selected item from list
body: <p>Im using ionic framework and Im trying to create a phone list which can add and delete the user entered phone no.Here the user entered numbers are listed with check box on clicking the add button.When the user selects the check-box and clicks the delete button, he must be able to delete the selected check box phone number.Here the problem is while using the delete button, it doesn't delete the selected check box instead it is deleting the first value entered in the list. So please help me to delete only user selected check-box items.</p>
  
  <p>html code:</p>
  
  <pre><code>    &lt;div&gt;
       &lt;ion-checkbox ng-model="phoneno" ng-repeat="y in phonelist"&gt;
         &lt;span data-ng-bind="y"&gt; {{y}}&lt;/span&gt; &lt;/ion-checkbox&gt;
       &lt;button ng-click="remove($index)" value="Delete"&gt;Delete&lt;/button&gt;&lt;br&gt;
      &lt;/div&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;div&gt;
      &lt;!label class="item item-input item-floating-label"&gt;
       &lt;input ng-maxlength="10" ng-model="phone"&gt; &lt;br&gt;
       &lt;button ng-click="add()" value="Add"&gt;Add&lt;/button&gt;&lt;br&gt; 
       &lt;!/label&gt;
      &lt;/div&gt;
  
    &lt;/ion-content &gt;
  
  &lt;/ion-view&gt;
  </code></pre>
  
  <p>js code:</p>
  
  <pre><code> .controller('PlaylistCtrl', function($scope, $stateParams) {
      })
  
      .controller('addAdmin',['$scope',function($scope){
             $scope.phonelist=[];
          $scope.add=function(phone){
          $scope.phonelist.push($scope.phone);
              $scope.phone='';
  }
              $scope.remove=function(uuid){
                var x=$scope.phonelist[uuid];
                $scope.phonelist.splice(uuid,1);
  
              }
      }]);
  </code></pre>