Fix angular reference error.