{"action":"created","issue":{"url":"https://api.github.com/repos/caspervonb/amok/issues/86","labels_url":"https://api.github.com/repos/caspervonb/amok/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/caspervonb/amok/issues/86/comments","events_url":"https://api.github.com/repos/caspervonb/amok/issues/86/events","html_url":"https://github.com/caspervonb/amok/issues/86","id":89110789,"number":86,"title":"Can I use it with angular.js","user":{"login":"ichyr","id":4025556,"avatar_url":"https://avatars.githubusercontent.com/u/4025556?v=3","gravatar_id":"","url":"https://api.github.com/users/ichyr","html_url":"https://github.com/ichyr","followers_url":"https://api.github.com/users/ichyr/followers","following_url":"https://api.github.com/users/ichyr/following{/other_user}","gists_url":"https://api.github.com/users/ichyr/gists{/gist_id}","starred_url":"https://api.github.com/users/ichyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichyr/subscriptions","organizations_url":"https://api.github.com/users/ichyr/orgs","repos_url":"https://api.github.com/users/ichyr/repos","events_url":"https://api.github.com/users/ichyr/events{/privacy}","received_events_url":"https://api.github.com/users/ichyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T20:02:16Z","updated_at":"2015-06-17T20:36:56Z","closed_at":null,"body":"I'm not sure whether I understood correctly the re-compilation from [here](http://caspervonb.com/javascript/tools/live-edit-javascript-amok/).\r\n\r\n`\r\nSince the code is never re-evaluated but re-compiled instead, side effects that would be executed from running the script top to bottom will not be executed, think of it as the existing code being hot patched to the new definitions. In a traditional compiler/debugger toolset this sort of feature would typically be called edit and continue.\r\n`\r\nIs it about evaluation a changed lines or evaluation of whole file where changes occurred?\r\n\r\nAngular.js has a bootstrapping system with compilation|digestion. So I wonder if I can change value in the scope, will it be compiled in the term of Angular and eventually change the view?"},"comment":{"url":"https://api.github.com/repos/caspervonb/amok/issues/comments/112941868","html_url":"https://github.com/caspervonb/amok/issues/86#issuecomment-112941868","issue_url":"https://api.github.com/repos/caspervonb/amok/issues/86","id":112941868,"user":{"login":"caspervonb","id":157787,"avatar_url":"https://avatars.githubusercontent.com/u/157787?v=3","gravatar_id":"","url":"https://api.github.com/users/caspervonb","html_url":"https://github.com/caspervonb","followers_url":"https://api.github.com/users/caspervonb/followers","following_url":"https://api.github.com/users/caspervonb/following{/other_user}","gists_url":"https://api.github.com/users/caspervonb/gists{/gist_id}","starred_url":"https://api.github.com/users/caspervonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caspervonb/subscriptions","organizations_url":"https://api.github.com/users/caspervonb/orgs","repos_url":"https://api.github.com/users/caspervonb/repos","events_url":"https://api.github.com/users/caspervonb/events{/privacy}","received_events_url":"https://api.github.com/users/caspervonb/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T20:36:56Z","updated_at":"2015-06-17T20:36:56Z","body":"Essentially the way I'd phrase it now is that amok does hot patching of function definitions, in other words the inner guts of *functions* are replaced, keeping references intact for anonymous closures etc, but the rest of the script is not executed so new variable declarations and other side effects won't take place.\r\n\r\nSo changing a value will have no effect, changing a property getter, setter or any kind of function will have an effect the next time it's called.\r\n\r\nIn Angular, is there any way to force a re-render of the view?"}}