Moved templates from .js files to .html files.
Issue #24