blob: 259dd4ee02205b62ccc6cd9bf271efe611cc38f3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
'use strict';
/* Filters */
angular.module('myApp.filters', []).
filter('interpolate', ['version', function(version) {
return function(text) {
return String(text).replace(/\%VERSION\%/mg, version);
}
}]);
|