feat(performance): add better performance

Add better performance for page.  Move inline html of directives.