deardesi.js/components/version/version-directive.js

10 lines
199 B
JavaScript

'use strict';
angular.module('myApp.version.version-directive', [])
.directive('appVersion', ['version', function(version) {
return function(scope, elm, attrs) {
elm.text(version);
};
}]);