{"action":"closed","issue":{"url":"https://api.github.com/repos/benjamincharity/angular-flickity/issues/39","repository_url":"https://api.github.com/repos/benjamincharity/angular-flickity","labels_url":"https://api.github.com/repos/benjamincharity/angular-flickity/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/benjamincharity/angular-flickity/issues/39/comments","events_url":"https://api.github.com/repos/benjamincharity/angular-flickity/issues/39/events","html_url":"https://github.com/benjamincharity/angular-flickity/issues/39","id":162193293,"number":39,"title":"Initialize slider \"after\" loading remote data","user":{"login":"ashishkushwaha","id":17152512,"avatar_url":"https://avatars.githubusercontent.com/u/17152512?v=3","gravatar_id":"","url":"https://api.github.com/users/ashishkushwaha","html_url":"https://github.com/ashishkushwaha","followers_url":"https://api.github.com/users/ashishkushwaha/followers","following_url":"https://api.github.com/users/ashishkushwaha/following{/other_user}","gists_url":"https://api.github.com/users/ashishkushwaha/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishkushwaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishkushwaha/subscriptions","organizations_url":"https://api.github.com/users/ashishkushwaha/orgs","repos_url":"https://api.github.com/users/ashishkushwaha/repos","events_url":"https://api.github.com/users/ashishkushwaha/events{/privacy}","received_events_url":"https://api.github.com/users/ashishkushwaha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benjamincharity/angular-flickity/labels/Type:%20Bug","name":"Type: Bug","color":"8B1A1A"}],"state":"closed","locked":false,"assignee":{"login":"benjamincharity","id":270193,"avatar_url":"https://avatars.githubusercontent.com/u/270193?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamincharity","html_url":"https://github.com/benjamincharity","followers_url":"https://api.github.com/users/benjamincharity/followers","following_url":"https://api.github.com/users/benjamincharity/following{/other_user}","gists_url":"https://api.github.com/users/benjamincharity/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamincharity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamincharity/subscriptions","organizations_url":"https://api.github.com/users/benjamincharity/orgs","repos_url":"https://api.github.com/users/benjamincharity/repos","events_url":"https://api.github.com/users/benjamincharity/events{/privacy}","received_events_url":"https://api.github.com/users/benjamincharity/received_events","type":"User","site_admin":false},"assignees":[{"login":"benjamincharity","id":270193,"avatar_url":"https://avatars.githubusercontent.com/u/270193?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamincharity","html_url":"https://github.com/benjamincharity","followers_url":"https://api.github.com/users/benjamincharity/followers","following_url":"https://api.github.com/users/benjamincharity/following{/other_user}","gists_url":"https://api.github.com/users/benjamincharity/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamincharity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamincharity/subscriptions","organizations_url":"https://api.github.com/users/benjamincharity/orgs","repos_url":"https://api.github.com/users/benjamincharity/repos","events_url":"https://api.github.com/users/benjamincharity/events{/privacy}","received_events_url":"https://api.github.com/users/benjamincharity/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-06-24T17:26:57Z","updated_at":"2016-06-26T17:31:03Z","closed_at":"2016-06-26T17:31:03Z","body":"Hi @benjamincharity,\r\n\r\nThanks for making this wonderful plugin. I am trying to get the slider work with Remote data (after $http call), but I am facing an issue. \r\n\r\nThe wrapper divs (flickity-viewport and flickity-slider) get initialized first and treat the remote data array as an Empty Array. After this, the remote data load get completed and the slides get loaded \"before\" the wrappers but inside the correct parent.\r\n\r\nWhen i hardcode the Remote Data in the Array directly, everything works. But on including it as a $http call, it fails. I even tried using the service options \"after\" the $http promise is resolved, but still get the same error.\r\n\r\nIs there a way to specify the reload based on some criteria after array is initialized with remote data?\r\n\r\n"}}
{"actor":{"display_login":"benjamincharity"}}