From bd219bd658e6d930be1572ad53322891c85fd6b4 Mon Sep 17 00:00:00 2001 From: Ismael Ambrosi Date: Fri, 9 Jan 2015 09:37:05 -0200 Subject: [PATCH 1/2] Use a string for the theme setting in demo --- demo/usage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/usage.html b/demo/usage.html index a3ffe8e..7c62396 100644 --- a/demo/usage.html +++ b/demo/usage.html @@ -80,7 +80,7 @@

VividCortex reCaptcha Directive Example

Date: Fri, 9 Jan 2015 09:39:00 -0200 Subject: [PATCH 2/2] Fixed scope declaration for theme in directive ?= is not a valid property setting. Using =? instead. --- src/directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/directive.js b/src/directive.js index bab7968..53994f2 100644 --- a/src/directive.js +++ b/src/directive.js @@ -16,7 +16,7 @@ scope: { response: '=?ngModel', key: '=', - theme: '?=', + theme: '=?', onCreate: '&', onSuccess: '&', onExpire: '&'