compile grid footer template with angular