angularjs how to check object code example Example: Angular empty object angular.equals({}, $scope.card)