Vincent Fournier 5d87fdaacd Improve code naming
Change-Id: If4837f71caca6d594e141fff830c7c2c08376e03
2015-08-24 20:33:27 -04:00

19 lines
680 B
JavaScript

'use strict';
angular.module('bansho.tactical.current_health', ['bansho.surveil',
'ngJustGage'])
.directive('banshoCurrentHealth', ['$compile', '$rootScope', function ($compile, $rootScope) {
return {
restrict: 'E',
templateUrl: 'components/custom_directive/tactical/current_health/current_health.html',
link: function (scope, element) {
$rootScope.$watch('themeClassSize', function( sizeclass) {
scope.themeClassSize = sizeclass;
$compile(element.contents())(scope);
});
}
};
}]);