fixed angular controller register