included $app to template vars