Add view className to template's compileId