13 lines
277 B
JavaScript
13 lines
277 B
JavaScript
// Generated by CoffeeScript 1.4.0
|
|
(function() {
|
|
|
|
angular.module('myApp.filters', []).filter('interpolate', [
|
|
'version', function(version) {
|
|
return function(text) {
|
|
return String(text).replace(/\%VERSION\%/mg, version);
|
|
};
|
|
}
|
|
]);
|
|
|
|
}).call(this);
|