12 lines
212 B
JavaScript
12 lines
212 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
/* Directives */
|
||
|
|
||
|
|
||
|
angular.module('myApp.directives', []).
|
||
|
directive('appVersion', ['version', function(version) {
|
||
|
return function(scope, elm, attrs) {
|
||
|
elm.text(version);
|
||
|
};
|
||
|
}]);
|