From 31112901c2bd9d1912cf3cba52648e5f1afbab89 Mon Sep 17 00:00:00 2001 From: Ronnie Overby Date: Mon, 7 Jul 2014 09:15:09 -0400 Subject: [PATCH] Added the ability to use qr as attribute --- src/angular-qr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angular-qr.js b/src/angular-qr.js index 3b32a1e..04f7693 100644 --- a/src/angular-qr.js +++ b/src/angular-qr.js @@ -76,7 +76,7 @@ .directive('qr', ['$timeout', '$window', function($timeout, $window){ return { - restrict: 'E', + restrict: 'EA', template: '', scope: { typeNumber: '=',