{"action":"closed","issue":{"url":"https://api.github.com/repos/guylabs/ion-autocomplete/issues/71","labels_url":"https://api.github.com/repos/guylabs/ion-autocomplete/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/guylabs/ion-autocomplete/issues/71/comments","events_url":"https://api.github.com/repos/guylabs/ion-autocomplete/issues/71/events","html_url":"https://github.com/guylabs/ion-autocomplete/issues/71","id":105800644,"number":71,"title":"templateUrl bug: elements not found","user":{"login":"kachitta","id":7225023,"avatar_url":"https://avatars.githubusercontent.com/u/7225023?v=3","gravatar_id":"","url":"https://api.github.com/users/kachitta","html_url":"https://github.com/kachitta","followers_url":"https://api.github.com/users/kachitta/followers","following_url":"https://api.github.com/users/kachitta/following{/other_user}","gists_url":"https://api.github.com/users/kachitta/gists{/gist_id}","starred_url":"https://api.github.com/users/kachitta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kachitta/subscriptions","organizations_url":"https://api.github.com/users/kachitta/orgs","repos_url":"https://api.github.com/users/kachitta/repos","events_url":"https://api.github.com/users/kachitta/events{/privacy}","received_events_url":"https://api.github.com/users/kachitta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-10T12:55:21Z","updated_at":"2015-09-10T13:40:03Z","closed_at":"2015-09-10T13:40:03Z","body":"Hi guy,\r\nanother issue came up with `template-url`: the `link` function is run before `{{viewModel.randomCssClass}}` gets binded, so both `searchInputElement` and Done button are not found. Seems like there is a race between compiling template and running `link` function, which makes looking for elements in `link` function unreliable."}}