Skip to content

Commit

Permalink
fix(modal): directive can't be invoked as class now
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Dec 31, 2012
1 parent 113aa90 commit 065edec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modal/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ angular.module('ui.bootstrap.modal', []).directive('modal', ['$parse',function($
escape: true
};
return {
restrict: 'ECA',
restrict: 'EA',
link: function(scope, elm, attrs) {
var opts = angular.extend(defaultOpts, scope.$eval(attrs.uiOptions || attrs.bsOptions || attrs.options));
var shownExpr = attrs.modal || attrs.show;
Expand Down

0 comments on commit 065edec

Please sign in to comment.