title: How to check whether an array list contains a object in angularjs
body: <p>i have added several mail id's to $scope.MultiEmailsList,then i have assigned single email to $scope.SingleEmail.Now i want to check $scope.SingleEmail with $scope.MultiEmailsList list.  </p>
  
  <pre><code>if ($scope.MultiEmailsList.contains($scope.SingleEmail))
   {
      console.log("Mail Id Already Exists");
   }
  else
    {
       console.log("Mail Id Not Exists");            
    }
  </code></pre>