{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/11738","labels_url":"https://api.github.com/repos/angular/angular.js/issues/11738/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/11738/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/11738/events","html_url":"https://github.com/angular/angular.js/issues/11738","id":71259569,"number":11738,"title":"Execute a function all the time","user":{"login":"MartelBenjamin","id":10927783,"avatar_url":"https://avatars.githubusercontent.com/u/10927783?v=3","gravatar_id":"","url":"https://api.github.com/users/MartelBenjamin","html_url":"https://github.com/MartelBenjamin","followers_url":"https://api.github.com/users/MartelBenjamin/followers","following_url":"https://api.github.com/users/MartelBenjamin/following{/other_user}","gists_url":"https://api.github.com/users/MartelBenjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/MartelBenjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartelBenjamin/subscriptions","organizations_url":"https://api.github.com/users/MartelBenjamin/orgs","repos_url":"https://api.github.com/users/MartelBenjamin/repos","events_url":"https://api.github.com/users/MartelBenjamin/events{/privacy}","received_events_url":"https://api.github.com/users/MartelBenjamin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-27T11:42:49Z","updated_at":"2015-04-27T11:42:49Z","closed_at":null,"body":"Hi, i have a question that i can't find the answer.\r\n\r\nHow can i do to execute a function all the time ?\r\nI have a function who modify the menu and i would it to be executed every scrolls, clicks on button , etc ...\r\nIn fact i would change the menu to appear/disappear submenu in function of the position on the page like the following site : http://getbootstrap.com/components/#glyphicons.\r\nIf you scrolls the menu changes automaticaly.\r\n\r\nThanks :)\r\nBen"}}