{"action":"created","issue":{"url":"https://api.github.com/repos/l-lin/angular-datatables/issues/322","labels_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/322/comments","events_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/322/events","html_url":"https://github.com/l-lin/angular-datatables/issues/322","id":79249213,"number":322,"title":"The dtOptions.reloadData() in sample not work","user":{"login":"spyhunter88","id":4862357,"avatar_url":"https://avatars.githubusercontent.com/u/4862357?v=3","gravatar_id":"","url":"https://api.github.com/users/spyhunter88","html_url":"https://github.com/spyhunter88","followers_url":"https://api.github.com/users/spyhunter88/followers","following_url":"https://api.github.com/users/spyhunter88/following{/other_user}","gists_url":"https://api.github.com/users/spyhunter88/gists{/gist_id}","starred_url":"https://api.github.com/users/spyhunter88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyhunter88/subscriptions","organizations_url":"https://api.github.com/users/spyhunter88/orgs","repos_url":"https://api.github.com/users/spyhunter88/repos","events_url":"https://api.github.com/users/spyhunter88/events{/privacy}","received_events_url":"https://api.github.com/users/spyhunter88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T02:32:51Z","updated_at":"2015-05-22T07:56:20Z","closed_at":null,"body":"Hi, I use the sample in http://l-lin.github.io/angular-datatables/#/dataReloadWithPromise but it seems do not work. I use the latest in dist folder (0.4.3) and they said dtOptions.reloadData is not a function.\r\n\r\nI defined inside my controller:\r\n```    \r\n$scope.dtOptions = DTOptionsBuilder\r\n    .fromFnPromise(salesApi.getVersions())\r\n    .withPaginationType('full_numbers')\r\n    .withBootstrap();\r\n```\r\nAnd in the html:\r\n`... dt-options=\"dtOptions\" ... `\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/l-lin/angular-datatables/issues/comments/104556554","html_url":"https://github.com/l-lin/angular-datatables/issues/322#issuecomment-104556554","issue_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/322","id":104556554,"user":{"login":"l-lin","id":5452304,"avatar_url":"https://avatars.githubusercontent.com/u/5452304?v=3","gravatar_id":"","url":"https://api.github.com/users/l-lin","html_url":"https://github.com/l-lin","followers_url":"https://api.github.com/users/l-lin/followers","following_url":"https://api.github.com/users/l-lin/following{/other_user}","gists_url":"https://api.github.com/users/l-lin/gists{/gist_id}","starred_url":"https://api.github.com/users/l-lin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l-lin/subscriptions","organizations_url":"https://api.github.com/users/l-lin/orgs","repos_url":"https://api.github.com/users/l-lin/repos","events_url":"https://api.github.com/users/l-lin/events{/privacy}","received_events_url":"https://api.github.com/users/l-lin/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T07:56:20Z","updated_at":"2015-05-22T07:56:20Z","body":"It's not `dtOptions.reloadData` but `dtInstance.reloadData`."}}