"use strict";angular.module("noCAPTCHA",[]).service("googleGrecaptcha",["$q","$window","$document","$rootScope",function(a,b,c,d){var e=a.defer();b.recaptchaOnloadCallback=function(){d.$apply(function(){e.resolve()})};var f=c[0].createElement("script");return f.src="https://www.google.com/recaptcha/api.js?onload=recaptchaOnloadCallback&render=explicit",c[0].body.appendChild(f),e.promise}]).provider("noCAPTCHA",function(){var a,b,c;this.setSiteKey=function(b){a=b},this.setSize=function(a){b=a},this.setTheme=function(a){c=a},this.$get=[function(){return{theme:c,siteKey:a,size:b}}]}).directive("noCaptcha",["noCAPTCHA","googleGrecaptcha","$document","$window",function(a,b,c,d){var e=function(){for(var a=c[0].getElementsByClassName("pls-container"),b=0;b<a.length;b++)for(var d=a[b].parentNode;d.firstChild;)d.removeChild(d.firstChild)};return{restrict:"EA",scope:{gRecaptchaResponse:"=",siteKey:"@",size:"@",theme:"@",control:"=?",expiredCallback:"=?"},replace:!0,link:function(c,f){c.control=c.control||{};var g,h,i=c.control;if(h={sitekey:c.siteKey||a.siteKey,size:c.size||a.size,theme:c.theme||a.theme,callback:function(a){c.$apply(function(){c.gRecaptchaResponse=a})},"expired-callback":function(){c.expiredCallback&&"function"==typeof c.expiredCallback&&c.$apply(function(){c.expiredCallback()})}},!h.sitekey)throw new Error("Site Key is required");b.then(function(){g=d.grecaptcha.render(f[0],h),i.reset=function(){d.grecaptcha.reset(g),c.gRecaptchaResponse=null}}),c.$on("$destroy",function(){d.grecaptcha&&d.grecaptcha.reset(g),e()})}}}]);
@@ -41,15 +41,16 @@
 %5B%5D).
-service
+provider
 (%22go
@@ -65,16 +65,77 @@
 aptcha%22,
+function()%7Bvar a;this.setLanguage=function(b)%7Ba=b%7D,this.$get=
 %5B%22$q%22,%22$
@@ -180,24 +180,24 @@
 ion(
-a,
 b,c,d
+,e
 )%7Bvar 
-e=a
+f=b
 .def
@@ -201,17 +201,17 @@
 defer();
-b
+c
 .recaptc
@@ -238,17 +238,17 @@
 ction()%7B
-d
+e
 .$apply(
@@ -258,17 +258,17 @@
 ction()%7B
-e
+f
 .resolve
@@ -281,11 +281,11 @@
 var 
-f=c
+g=d
 %5B0%5D.
@@ -311,21 +311,10 @@
 pt%22)
-;return f.src
+,h
 =%22ht
@@ -398,18 +398,50 @@
 xplicit%22
-,c
+;return a&&(h+=%22&hl=%22+a),g.src=h,d
 %5B0%5D.body
@@ -457,12 +457,12 @@
 ild(
-f),e
+g),f
 .pro
@@ -467,16 +467,17 @@
 romise%7D%5D
+%7D
 ).provid
@@ -491,16 +491,44 @@
 APTCHA%22,
+%5B%22googleGrecaptchaProvider%22,
 function
@@ -532,19 +532,20 @@
 ion(
+a
 )%7Bvar 
-a,
 b,c
+,d
 ;thi
@@ -562,30 +562,30 @@
 ey=function(
-b)%7Ba=b
+a)%7Bb=a
 %7D,this.setSi
@@ -591,33 +591,33 @@
 ize=function(a)%7B
-b
+c
 =a%7D,this.setThem
@@ -626,27 +626,74 @@
 function(a)%7B
-c=a
+d=a%7D,this.setLanguage=function(b)%7Ba.setLanguage(b)
 %7D,this.$get=
@@ -692,17 +692,16 @@
 is.$get=
-%5B
 function
@@ -716,17 +716,17 @@
 n%7Btheme:
-c
+d
 ,siteKey
@@ -730,20 +730,20 @@
 Key:
-a
+b
 ,size:
-b
+c%7D
 %7D%7D%5D
-%7D
 ).di

Build minified version