docs($templateFactory): fixing function name