I have a list of array from A-Z and create a button list from them
$scope.alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
I have another array
$scope.uniqChar = ['a', 'g', 'm'];
by using this array I want to create a button list where all the button disable except the button those name are 'a', 'g', 'm'(which are in $scope.uniqChar). I did this jsfiddle, but the output shown in three times. I want it only in one list. Please enlighten me.