11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
/* Filters */
|
||
|
|
||
|
angular.module('myApp.filters', []).
|
||
|
filter('interpolate', ['version', function(version) {
|
||
|
return function(text) {
|
||
|
return String(text).replace(/\%VERSION\%/mg, version);
|
||
|
};
|
||
|
}]);
|