Inject RepoApi into old UI

Change-Id: I96bfb91d93002568ebb2535a27d6991209591277