diff --git a/src/js/core/services/ui-grid-util.js b/src/js/core/services/ui-grid-util.js index e9e4c65f74..30bc0cbff2 100644 --- a/src/js/core/services/ui-grid-util.js +++ b/src/js/core/services/ui-grid-util.js @@ -351,7 +351,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC } // See if the template is itself a promise - if (template.hasOwnProperty('then')) { + if (angular.isFunction(template.then)) { return template.then(s.postProcessTemplate); }