moved angular into two files, now the templates won't load correctly.