Fix course angular controller