isolate template scope