Skip to content

Commit

Permalink
Allow use of angular directive as an Element
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtpepper43 committed Jan 12, 2015
1 parent f3bd670 commit 6ba324c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/angular.directive.js
Expand Up @@ -6,7 +6,7 @@

.directive('easypiechart', [function() {
return {
restrict: 'A',
restrict: 'AE',
require: '?ngModel',
scope: {
percent: '=',
Expand Down Expand Up @@ -45,4 +45,4 @@
};
}]);

})(angular);
})(angular);

0 comments on commit 6ba324c

Please sign in to comment.