angular.equal is used to compare between two int values whether these are same or not and the return value is true or false. See the code snippet:
angular.equal