make angular controller min-safe