Fix angular controller