From 886c07eb8cdb4fd2babc779993940eb6222194a0 Mon Sep 17 00:00:00 2001 From: Will Date: Wed, 28 Jan 2015 10:36:14 -0800 Subject: [PATCH] Allow usage as attribute - Closes #27 --- dist/selectize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/selectize.js b/dist/selectize.js index e64fdf4..dfb82ff 100755 --- a/dist/selectize.js +++ b/dist/selectize.js @@ -5,7 +5,7 @@ angular.module('selectize', []).value('selectizeConfig', {}).directive("selectize", ['selectizeConfig', function(selectizeConfig) { return { - restrict: 'E', + restrict: 'EA', require: '^ngModel', scope: {ngModel: '=', config: '=?', options: '=?', ngDisabled: '=', ngRequired: '&'}, link: function(scope, element, attrs, modelCtrl) {