use repositories to get items instead of $http