Hooked up API and ng-repeat