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