use rootScope.items to cache the home page data