title: AngularJS, how to check if array contains duplicate values?
body: <p>How do I check <strong>particularly using AngularJS</strong> if an array has duplicate values?</p>
  
  <p>If more than 1 element of the same exist, then return true. 
  Otherwise, return false.</p>
  
  <pre><code>$scope.intArray = [5, 11, 17, 53] // return false because no duplicates exist
  $scope.intArray = [5, 11, 17, 5]  // return true because duplicaets exist
  </code></pre>