Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
/*jshint globalstrict:true */
/*global angular:true */
'use strict';

angular.module('elasticjs.filters', [])
    .filter('interpolate', ['version', function(version) {
        return function(text) {
            return String(text).replace(/\%VERSION\%/mg, version);
        }
    }]);
New to GrepCode? Check out our FAQ X