More robust html2js watch
Split templates into separate files

- Put login buttons to its own controller