Adding angular to ananymous function calls.