{"id":20314353,"url":"https://github.com/normandy72/digest-and-apply","last_synced_at":"2026-05-11T07:01:34.559Z","repository":{"id":153902752,"uuid":"585675513","full_name":"Normandy72/digest-and-apply","owner":"Normandy72","description":"$digest and $apply functions in AngularJS. Coursera course \"Single Page Web Applications with AngularJS\" by Yaakov Chaikin.","archived":false,"fork":false,"pushed_at":"2023-01-05T20:06:34.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T12:46:39.351Z","etag":null,"topics":["angular","angularjs","html","html5","javascript","js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Normandy72.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-05T19:31:00.000Z","updated_at":"2023-01-05T20:06:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"6208812d-e76c-4941-b874-75ca1802b73b","html_url":"https://github.com/Normandy72/digest-and-apply","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2Fdigest-and-apply","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2Fdigest-and-apply/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2Fdigest-and-apply/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2Fdigest-and-apply/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Normandy72","download_url":"https://codeload.github.com/Normandy72/digest-and-apply/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818842,"owners_count":20025208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angularjs","html","html5","javascript","js"],"created_at":"2024-11-14T18:14:53.842Z","updated_at":"2026-05-11T07:01:29.491Z","avatar_url":"https://github.com/Normandy72.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"* setTimeout function lives separate from digest, so digest can be installed manually: `$scope.$digest();`. But that is a __wrong way__, because exceptions and errors in this code (code before `$scope.$digest();`) become invisible for Angular.\n* __correct way__ is using `$apply` instead of `$digest`.\n* `$apply` accept function where our code can be moved to.\n* in native Angular there is a `$timeout` function and there is no reason to use `setTimeout()`, `$digest` or `$apply`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormandy72%2Fdigest-and-apply","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnormandy72%2Fdigest-and-apply","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormandy72%2Fdigest-and-apply/lists"}