UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

19 lines (18 loc) 490 B
angular. module("sprintf", []). filter("sprintf", function() { return function() { return sprintf.apply(null, arguments) } }). filter("fmt", ["$filter", function($filter) { return $filter("sprintf") }]). filter("vsprintf", function() { return function(format, argv) { return vsprintf(format, argv) } }). filter("vfmt", ["$filter", function($filter) { return $filter("vsprintf") }])