{"action":"created","issue":{"url":"https://api.github.com/repos/Pentiado/angular-lazy-img/issues/4","labels_url":"https://api.github.com/repos/Pentiado/angular-lazy-img/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Pentiado/angular-lazy-img/issues/4/comments","events_url":"https://api.github.com/repos/Pentiado/angular-lazy-img/issues/4/events","html_url":"https://github.com/Pentiado/angular-lazy-img/issues/4","id":90358650,"number":4,"title":"Set container in directive","user":{"login":"alexnaldo","id":1315409,"avatar_url":"https://avatars.githubusercontent.com/u/1315409?v=3","gravatar_id":"","url":"https://api.github.com/users/alexnaldo","html_url":"https://github.com/alexnaldo","followers_url":"https://api.github.com/users/alexnaldo/followers","following_url":"https://api.github.com/users/alexnaldo/following{/other_user}","gists_url":"https://api.github.com/users/alexnaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexnaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexnaldo/subscriptions","organizations_url":"https://api.github.com/users/alexnaldo/orgs","repos_url":"https://api.github.com/users/alexnaldo/repos","events_url":"https://api.github.com/users/alexnaldo/events{/privacy}","received_events_url":"https://api.github.com/users/alexnaldo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-23T11:24:19Z","updated_at":"2015-08-02T14:22:23Z","closed_at":"2015-08-02T13:45:16Z","body":"If I have an image in a second page your code doesn't work because locates for 'window' or 'container' in the main page.\r\n\r\n... in config code...\r\n\r\nscrollable = document.querySelector('#scrollable')\r\n container: angular.element(scrollable) "},"comment":{"url":"https://api.github.com/repos/Pentiado/angular-lazy-img/issues/comments/127029624","html_url":"https://github.com/Pentiado/angular-lazy-img/issues/4#issuecomment-127029624","issue_url":"https://api.github.com/repos/Pentiado/angular-lazy-img/issues/4","id":127029624,"user":{"login":"Jurigag","id":10086991,"avatar_url":"https://avatars.githubusercontent.com/u/10086991?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurigag","html_url":"https://github.com/Jurigag","followers_url":"https://api.github.com/users/Jurigag/followers","following_url":"https://api.github.com/users/Jurigag/following{/other_user}","gists_url":"https://api.github.com/users/Jurigag/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurigag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurigag/subscriptions","organizations_url":"https://api.github.com/users/Jurigag/orgs","repos_url":"https://api.github.com/users/Jurigag/repos","events_url":"https://api.github.com/users/Jurigag/events{/privacy}","received_events_url":"https://api.github.com/users/Jurigag/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T14:22:23Z","updated_at":"2015-08-02T14:22:23Z","body":"Nice, i will test it tomorrow and provide some info :D"}}