PR: Fixed E2E test, template compiles and index file

I have added actual E2E tests for out application all working. 
Fixed the template compile now compiling our templates. 
Fixed karma config to allow pass this will need to be fixed up for our unit tests.