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