Well actually, all it does is setting the translate table for currently used language. The actual replacement process is done through angular's compile process.