Created
July 24, 2014 11:32
-
-
Save gruppjo/0c9cbe380edd808a4046 to your computer and use it in GitHub Desktop.
angularjs - empty object filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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