Testing getting repos via AngualJS