convert the template-embed in single-page-app by user requirejs-text