Skip to content

Commit

Permalink
Fix attribute to allow use of % symbol in height and width
Browse files Browse the repository at this point in the history
  • Loading branch information
syndesis committed Sep 9, 2015
1 parent fec1021 commit 9e4ef28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/amChartsDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ angular.module('amChartsDirective', []).directive('amChart', ['$q', function ($q
replace: true,
scope: {
options: '=',
height: '=',
width: '='
height: '@',
width: '@'
},
template: '<div class="amchart"></div>',
link: function ($scope, $el) {
Expand Down

0 comments on commit 9e4ef28

Please sign in to comment.