diff --git a/src/ngRemoteValidate.js b/src/ngRemoteValidate.js index 8de9297..cdab3d9 100644 --- a/src/ngRemoteValidate.js +++ b/src/ngRemoteValidate.js @@ -171,4 +171,4 @@ .constant('MODULE_VERSION', '##_version_##') .directive( directiveId, [ '$http', '$timeout', '$q', remoteValidate ] ); -})( this.angular ); +})( window.angular );