{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/1193","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/1193/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/1193/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/1193/events","html_url":"https://github.com/angular-ui/bootstrap/issues/1193","id":21374106,"number":1193,"title":"$modal caching","user":{"login":"Siyfion","id":338488,"avatar_url":"https://avatars.githubusercontent.com/u/338488?v=3","gravatar_id":"","url":"https://api.github.com/users/Siyfion","html_url":"https://github.com/Siyfion","followers_url":"https://api.github.com/users/Siyfion/followers","following_url":"https://api.github.com/users/Siyfion/following{/other_user}","gists_url":"https://api.github.com/users/Siyfion/gists{/gist_id}","starred_url":"https://api.github.com/users/Siyfion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siyfion/subscriptions","organizations_url":"https://api.github.com/users/Siyfion/orgs","repos_url":"https://api.github.com/users/Siyfion/repos","events_url":"https://api.github.com/users/Siyfion/events{/privacy}","received_events_url":"https://api.github.com/users/Siyfion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20modal","name":"component: modal","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/resolution:%20invalid","name":"resolution: invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-10-22T10:47:28Z","updated_at":"2015-06-17T17:21:06Z","closed_at":"2013-10-23T18:08:20Z","body":"I've been chasing my tail for nearly a day over this; I have updated my AngularJS application on my website, among which I have updated the view used as the template for a `$modal` dialog window. For example given the code:\r\n\r\n```coffeescript\r\n    $scope.showDialog = () ->\r\n      dlg = $modal.open\r\n        templateUrl: '/views/myDialogWindow.html'\r\n        controller: 'DialogWindowCtrl'\r\n        windowClass: 'modal-wide'\r\n      dlg.result.then (result) ->\r\n        if result?\r\n          # Do something meaningful here.\r\n```\r\n\r\nI have updated the file `/views/myDialogWindow.html` however, when looking at the new website, I see that `myDialogWindow.html` is being loaded entirely from cache, even though I have used the `Disable Cache (while DevTools is open)` option in Chrome (and have the DevTools window open). None of the \"normal\" views seem to exhibit this behaviour, only modal windows.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/112882946","html_url":"https://github.com/angular-ui/bootstrap/issues/1193#issuecomment-112882946","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/1193","id":112882946,"user":{"login":"marcrespass","id":2395203,"avatar_url":"https://avatars.githubusercontent.com/u/2395203?v=3","gravatar_id":"","url":"https://api.github.com/users/marcrespass","html_url":"https://github.com/marcrespass","followers_url":"https://api.github.com/users/marcrespass/followers","following_url":"https://api.github.com/users/marcrespass/following{/other_user}","gists_url":"https://api.github.com/users/marcrespass/gists{/gist_id}","starred_url":"https://api.github.com/users/marcrespass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcrespass/subscriptions","organizations_url":"https://api.github.com/users/marcrespass/orgs","repos_url":"https://api.github.com/users/marcrespass/repos","events_url":"https://api.github.com/users/marcrespass/events{/privacy}","received_events_url":"https://api.github.com/users/marcrespass/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T17:21:05Z","updated_at":"2015-06-17T17:21:05Z","body":"@TurtleShip that is a brilliant solution. This problem has been causing so much trouble and your solution fixed it. Much appreciated!"}}