{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/44","repository_url":"https://api.github.com/repos/angular-ui/ui-scroll","labels_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/44/comments","events_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/44/events","html_url":"https://github.com/angular-ui/ui-scroll/issues/44","id":132984900,"number":44,"title":"Issue: First get uses index 1, whereas array starts at index 0","user":{"login":"jesperzach","id":15031955,"avatar_url":"https://avatars.githubusercontent.com/u/15031955?v=3","gravatar_id":"","url":"https://api.github.com/users/jesperzach","html_url":"https://github.com/jesperzach","followers_url":"https://api.github.com/users/jesperzach/followers","following_url":"https://api.github.com/users/jesperzach/following{/other_user}","gists_url":"https://api.github.com/users/jesperzach/gists{/gist_id}","starred_url":"https://api.github.com/users/jesperzach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesperzach/subscriptions","organizations_url":"https://api.github.com/users/jesperzach/orgs","repos_url":"https://api.github.com/users/jesperzach/repos","events_url":"https://api.github.com/users/jesperzach/events{/privacy}","received_events_url":"https://api.github.com/users/jesperzach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-11T14:15:42Z","updated_at":"2016-04-18T16:53:53Z","closed_at":"2016-04-18T16:53:53Z","body":"Is there any reasoning behind this?\r\n\r\nThe problem is ui scroll starts loading from index 1, then shortly after prepends the element at index 0. This results in the container being scrolled down slightly on initial page load.\r\n\r\nI tried just subtracting 1 from index before fetching elements from my array, but this can result in a situation where the requested index is -10 and count is 10 (total 0 elements requested) which means it will stop asking for more."}}