Duplicates in ngRepeat are not allowed - AngularJS

ngRepeat makes it easy to iterate over Array/Objects in AngularJS. ngRepeat iterates using Array/Object values, which can cause problem, if there are duplicate values in Array/Object e.g. [1, 1, 2, 3, 4, 4].