將角度模板編譯成html的正確方法,將結果轉換為字符串 [英]A proper way to compile angular template into html, convert result into string