templates and custom angular app