docs($compile): add 'templateNamespace' to example

Closes #9522