javascript - Angular $interval without scope refresh -
I have an $ angle in an angular service that checks whether a array is empty and running a script on every data But the array is something very simple. My problem is that every time the $ interval is running, some guidelines "revolve" from my realm are refreshed if I use the interlabel function to set a javascript instead of $ interval The result i expected but I would like to use the $ interval because I do not know how to make a call to set up calls while running Karma test. Any ideas about using this $ interval for this requirement?
is the code, but I believe that you can go to $ interval
When calling, you can set 4 codes ( invokeApply
) to false
. $ Range. Apply $ ()
, which I believe is happening here.
See for more information.
>
Comments
Post a Comment