angularjs-digest Questions
12
Solved
Stack trace:
Error: $apply already in progress
at Error (<anonymous>)
at beginPhase (file:///android_asset/www/built.min.js:7:22740)
at Object.Scope.$apply (file:///android_asset/www/built.m...
Porphyroid asked 5/9, 2013 at 0:46
28
Solved
I'm finding that I need to update my page to my scope manually more and more since building an application in angular.
The only way I know of to do this is to call $apply() from the scope of my co...
Landwaiter asked 4/10, 2012 at 14:7
1
During debugging of my ng-app I've find out that most time of $digest takes regularInterceptedExpression. The question is, what is causes of triggering it?
Chamonix asked 28/4, 2016 at 19:31
3
Solved
I have written this custom filter for AngularJS, but when it runs, I get the infinite digest loop error. Why does this occur and how can I correct this?
angular.module("app", []).
filter('departme...
Stall asked 23/8, 2017 at 4:16
1
I have a mean-stack website. I want to use ExecuteFunction to bind a button to launch this website in a Dialog box:
function doSomethingAndShowDialog(event) {
clickEvent = event;
Office.context....
Dieselelectric asked 1/8, 2017 at 17:58
2
Solved
My task is to process the dropped text using angular. I keep getting this error $scope is not defined on drag and drop events. Any idea how to fix this?
I already looked into angular drag and dro...
Rackrent asked 12/5, 2015 at 19:40
0
I realize there were several similar questions, I checked them but they don't seem to cover my case.
So I have a fluid flexbox-based layout. Most of the window is used by container block, that shri...
Mancilla asked 7/9, 2016 at 13:50
2
Angular beginner question about scopes (docs here).
$eval executes an expression in the context of a scope.
$apply basically calls $eval and then $digest.
Why does $evalAsync call $digest too (or...
Espalier asked 31/1, 2014 at 2:17
1
If one changes a scope property first, and then broadcasts an event second, will the corresponding watcher callback and event listeners callback always be executed in that same order? For example:
...
Musky asked 29/12, 2015 at 21:2
1
Edit: It seems that this could be related to Chrome v43, I downgraded to v42 and everything works fine.
Edit: I've submitted an issue on the Angular's Github repo.
It seems that the error gets th...
Ottie asked 1/6, 2015 at 16:37
1
Solved
I am able to access the $scope variable per the accepted answer here. However, I am not able to edit it from the console, i.e. change properties, call functions etc. Is this even possible?
H...
Tool asked 9/6, 2015 at 15:39
1
I have a button on my page with an id="viewQuestions" on a page:
<body ng-keydown="key($event);">
My code is checking for key hits like this:
$scope.key = function ($event) {
$scope.$b...
Lola asked 12/3, 2015 at 11:16
1
Solved
So I have an AngularJS service listening for some events. On the handling of these events I need to call different controllers and ultimately load a new view. In one event handler I am using $locat...
Cannady asked 5/8, 2014 at 21:48
1
Solved
tl;dr: The initial question was "How to trigger a callback every digest cycle?" but the underlying question is much more interesting and since this answers both, I went ahead and modified the title...
Nicotine asked 26/2, 2014 at 10:58
1
Solved
I have a fiddle up here: http://jsfiddle.net/KdkKE/44/
What I'd like to do create a 'toggle' component, basically a custom checkbox but with html that changes if it is true or false, which is boun...
Complainant asked 7/3, 2013 at 0:53
1
© 2022 - 2024 — McMap. All rights reserved.