Function string.format ported from .NET to AngularJS

Have your ever wondered if there something like string.format() method as known in .NET but available in Javascript? And waht about AngularJS? The answer is yes. Guys from Microsoft wrote library Ajax Control Toolkit, containing little this gem String.js (I found it via Stackoverflow). I needed it as a filter in AngularJS, so I have ported it there. The code is available on Github.

Example of use

 <h4 class="result">
{{'put values here "{0}" and here "{1}"' | stringFormat:['1', '2'] }}
</h4>

Result is put values here “1” and here “2”

ONLINE DEMO ON JsFiddle

Comments welcome.