{"action":"created","issue":{"url":"https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/issues/3","labels_url":"https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/issues/3/comments","events_url":"https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/issues/3/events","html_url":"https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/issues/3","id":20553552,"number":3,"title":"Incorrect working with  lazy load data","user":{"login":"vmamaev","id":1883631,"avatar_url":"https://avatars.githubusercontent.com/u/1883631?v=3","gravatar_id":"","url":"https://api.github.com/users/vmamaev","html_url":"https://github.com/vmamaev","followers_url":"https://api.github.com/users/vmamaev/followers","following_url":"https://api.github.com/users/vmamaev/following{/other_user}","gists_url":"https://api.github.com/users/vmamaev/gists{/gist_id}","starred_url":"https://api.github.com/users/vmamaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmamaev/subscriptions","organizations_url":"https://api.github.com/users/vmamaev/orgs","repos_url":"https://api.github.com/users/vmamaev/repos","events_url":"https://api.github.com/users/vmamaev/events{/privacy}","received_events_url":"https://api.github.com/users/vmamaev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2013-10-04T22:32:03Z","updated_at":"2015-08-18T01:43:32Z","closed_at":null,"body":"..controller_start...\r\n\r\nMyModel.get_tree(function(data){\r\n   $scope.example_treedata = data\r\n})\r\n\r\n..controller_end...\r\n\r\nIn view: abn-tree header=\"\" tree-data=\"example_treedata\" icon-leaf=\"icon-file\" on-select=\"my_default_handler(branch)\" expand-level=\"2\" initial-selection=\"2\"></abn-tree\r\n\r\n\"Initial-selection\" and \"Exand-level\" doesn't work, but tree is rendered.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/issues/comments/132024617","html_url":"https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/issues/3#issuecomment-132024617","issue_url":"https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/issues/3","id":132024617,"user":{"login":"sachinsawant71","id":6391631,"avatar_url":"https://avatars.githubusercontent.com/u/6391631?v=3","gravatar_id":"","url":"https://api.github.com/users/sachinsawant71","html_url":"https://github.com/sachinsawant71","followers_url":"https://api.github.com/users/sachinsawant71/followers","following_url":"https://api.github.com/users/sachinsawant71/following{/other_user}","gists_url":"https://api.github.com/users/sachinsawant71/gists{/gist_id}","starred_url":"https://api.github.com/users/sachinsawant71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachinsawant71/subscriptions","organizations_url":"https://api.github.com/users/sachinsawant71/orgs","repos_url":"https://api.github.com/users/sachinsawant71/repos","events_url":"https://api.github.com/users/sachinsawant71/events{/privacy}","received_events_url":"https://api.github.com/users/sachinsawant71/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T01:43:32Z","updated_at":"2015-08-18T01:43:32Z","body":"I used ng-if check so that tree is initialized and rendered only when the data is loaded. It worked for me."}}