desirae.js/components/version/version-directive.js

10 lines
199 B
JavaScript
Raw Normal View History

2015-01-10 07:23:15 +00:00
'use strict';
angular.module('myApp.version.version-directive', [])
.directive('appVersion', ['version', function(version) {
return function(scope, elm, attrs) {
elm.text(version);
};
}]);