find match value in two object code example
Example: find match value in two object
var currentRef = currentQuestions.map(function(item){
return item.Ref;
});
$scope.Questions = availableQuestions.filter(function(item){
return currentRef.indexOf(item.Ref) === -1;
});