I am working with two arrays: $scope.blinkingBoxes=[1,3,2]
In addition, I have another array named $scope.clickedBoxes
where I push several values.
Currently, I use the following code to determine if the arrays are identical:
if(angular.equals($scope.blinkingBoxes, $scope.clickedBoxes)){doSomething()}
My challenge lies in checking if the second array does not contain any elements from the first array and take specific action. How can I accomplish this?