display gauges as well

This commit is contained in:
Athou
2013-08-23 14:12:13 +02:00
parent 14d5879735
commit 6560fc9d05
3 changed files with 21 additions and 0 deletions

View File

@@ -418,4 +418,15 @@ module.directive('metricMeter', function() {
restrict : 'E',
templateUrl : 'templates/_metrics.meter.html'
};
});
module.directive('metricGauge', function() {
return {
scope : {
metric : '=',
label : '='
},
restrict : 'E',
templateUrl : 'templates/_metrics.gauge.html'
};
});