Compiling templates to js using html2js task