{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/13676","labels_url":"https://api.github.com/repos/angular/angular.js/issues/13676/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/13676/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/13676/events","html_url":"https://github.com/angular/angular.js/issues/13676","id":124929559,"number":13676,"title":"force ng-include to load same source again","user":{"login":"ajinkya12","id":6862297,"avatar_url":"https://avatars.githubusercontent.com/u/6862297?v=3","gravatar_id":"","url":"https://api.github.com/users/ajinkya12","html_url":"https://github.com/ajinkya12","followers_url":"https://api.github.com/users/ajinkya12/followers","following_url":"https://api.github.com/users/ajinkya12/following{/other_user}","gists_url":"https://api.github.com/users/ajinkya12/gists{/gist_id}","starred_url":"https://api.github.com/users/ajinkya12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajinkya12/subscriptions","organizations_url":"https://api.github.com/users/ajinkya12/orgs","repos_url":"https://api.github.com/users/ajinkya12/repos","events_url":"https://api.github.com/users/ajinkya12/events{/privacy}","received_events_url":"https://api.github.com/users/ajinkya12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T09:44:04Z","updated_at":"2016-01-05T11:02:25Z","closed_at":"2016-01-05T11:02:25Z","body":"Hi,\r\nI am using ng-include to render a template.\r\n\r\n`<ng-include src=\"current[0].htmlTemplate\"></ng-include>`\r\n\r\ncurrent[0].htmlTemplate is always same as \"search.html\". But the controller associated with \"search.html\" must be run again. But ng-include prevents from doing that. For the first time ng-include works fine."},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/168972363","html_url":"https://github.com/angular/angular.js/issues/13676#issuecomment-168972363","issue_url":"https://api.github.com/repos/angular/angular.js/issues/13676","id":168972363,"user":{"login":"Narretz","id":1153097,"avatar_url":"https://avatars.githubusercontent.com/u/1153097?v=3","gravatar_id":"","url":"https://api.github.com/users/Narretz","html_url":"https://github.com/Narretz","followers_url":"https://api.github.com/users/Narretz/followers","following_url":"https://api.github.com/users/Narretz/following{/other_user}","gists_url":"https://api.github.com/users/Narretz/gists{/gist_id}","starred_url":"https://api.github.com/users/Narretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narretz/subscriptions","organizations_url":"https://api.github.com/users/Narretz/orgs","repos_url":"https://api.github.com/users/Narretz/repos","events_url":"https://api.github.com/users/Narretz/events{/privacy}","received_events_url":"https://api.github.com/users/Narretz/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T11:02:25Z","updated_at":"2016-01-05T11:02:25Z","body":"If the template is the same, you should either move the data update logic into the controller, or you can append a parameter with a timestamp or similar to the url so it gets reloaded. In any case, please ask support questions on the support channel: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question"}}