Skip to content

Commit

Permalink
fixed issue with templating
Browse files Browse the repository at this point in the history
  • Loading branch information
bahaaldine committed Feb 18, 2015
1 parent 40f64d9 commit 0bce84b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/angular-font-chart.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! angular-font-chart - v0.9.19 - 2015-02-18
/*! angular-font-chart - v0.9.21 - 2015-02-18
* Copyright (c) 2015 ; Licensed */
'use strict';

Expand All @@ -17,7 +17,7 @@ fc.directive('ngFontChart', function() {
extraClass: '&',
symbol: '@'
},
template: '<div><div class="ngfontchart icon background-transition-slow {{font}}"></div><ng-odometer class="value" value="value"></ng-odometer></div><span class="ng-odometer-symbol">{{symbol}}</span>',
template: '<div><div class="ngfontchart icon background-transition-slow {{font}}"></div><ng-odometer class="value" value="value"></ng-odometer><span class="ng-odometer-symbol">{{symbol}}</span></div>',
link: function(scope, element) {
angular.element(element.children()[0]).css('background-position','0px '+scope.value+'%');
angular.element(element.children()[0]).css('background-image', 'linear-gradient(to top, '+scope.startColor+' 0px, '+scope.startColor+' 50%, '+scope.endColor+' 50%, '+scope.endColor+' 100% )');
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-font-chart.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0bce84b

Please sign in to comment.