DOM templates with restrict, inline and external templates, isolate scope