Skip to content

Instantly share code, notes, and snippets.

@gruppjo
Created July 24, 2014 11:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gruppjo/0c9cbe380edd808a4046 to your computer and use it in GitHub Desktop.
Save gruppjo/0c9cbe380edd808a4046 to your computer and use it in GitHub Desktop.
angularjs - empty object filter
'use strict';
angular.module('crmApp')
.filter('isEmptyObject', function () {
return function (obj) {
return angular.equals({}, obj);
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment