{"action":"opened","issue":{"url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/269","labels_url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/269/comments","events_url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/269/events","html_url":"https://github.com/michaelbromley/angularUtils/issues/269","id":119623340,"number":269,"title":"When calling $compile on a code containing dirPagination, registered pagination-id is not found","user":{"login":"nathan-mickler","id":14879121,"avatar_url":"https://avatars.githubusercontent.com/u/14879121?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-mickler","html_url":"https://github.com/nathan-mickler","followers_url":"https://api.github.com/users/nathan-mickler/followers","following_url":"https://api.github.com/users/nathan-mickler/following{/other_user}","gists_url":"https://api.github.com/users/nathan-mickler/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-mickler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-mickler/subscriptions","organizations_url":"https://api.github.com/users/nathan-mickler/orgs","repos_url":"https://api.github.com/users/nathan-mickler/repos","events_url":"https://api.github.com/users/nathan-mickler/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-mickler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T01:54:29Z","updated_at":"2015-12-01T01:54:29Z","closed_at":null,"body":"I'm dynamically pulling in the code and running it through $compile after adding it to my DOM and everything seems to be working except that I'm now getting the following error message: *pagination directive: the itemsPerPage id argument (id: locations) does not match a registered pagination-id*\r\n\r\nIt appears that the dir-paginate directive is getting compiled before the dir-pagination-controls directive and is therefore unable to find the registered pagination-id.  How do I get around this?"}}