aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/app/js/directives.js
diff options
context:
space:
mode:
Diffstat (limited to 'alias-angular/app/js/directives.js')
-rw-r--r--alias-angular/app/js/directives.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/alias-angular/app/js/directives.js b/alias-angular/app/js/directives.js
index 3b9b652..cb7e70d 100644
--- a/alias-angular/app/js/directives.js
+++ b/alias-angular/app/js/directives.js
@@ -28,4 +28,12 @@ angular.module('Alias.directives', []).
}
};
return directiveDefinition;
+ }).directive('dropdownToggle', function($log) {
+ var directiveDefinition = {
+ restrict: 'A',
+ link: function(scope, elm, attrs) {
+ elm.dropdown();
+ }
+ };
+ return directiveDefinition;
});