Fixed undefined is not a function error when using breeze-kendo - angular

When using breeze-kendo with angular.js the executeQuery (line 65) throws an error: undefined is not a function.
Using breeze call without promises fixes the error.