Render html file from template file for component