Currently, our html and css files are written as string on .ts file. This pr is to solve the legacy issue.