fixed angular controller