Fixed scope dependency with an extra argument on the CompiledTemplate
Renamed parameter to reflect contents