Questions tagged [one-time-binding]
20 questions
0
votes
1 answer
Avoid ng-repeat still using two way binding
My web application is huge and I often use ng-repeat to get list of datas. This leads slow performance, sometimes very annoying. I know different ways to avoid the ng-repeat but these ways suggests to use the One-time binding trick! I can't do it…

Atlas91
- 5,754
- 17
- 69
- 141
0
votes
1 answer
what about the performance of one-time-binding and read-only
One-time data binding:
As its name suggests, the binding happens only once, ie, in the first digest cycle. One-time binding allows for a model or view to be updated ONCE from the value set by the controller upon the first digest
The syntax is…

Ramesh Rajendran
- 37,412
- 45
- 153
- 234
0
votes
1 answer
AngularJs Services with isolated scope
In my Angular app i have a service, that stores a Configuration structure, that is used by various components of my app. In the .run-phase that guiConfigService reads the configurations from a .json file by the function setGuiConfig and is able to…

LocalHorst
- 1,048
- 2
- 11
- 24
0
votes
0 answers
One time binding inside a directive
i'm trying to implement the 'one time binding' inside a directive and unfortunately it doesn't work.
I looked for similar questions but the solutions don't seem to feet.
First I tried the one time binding with a property which I've change it's value…

Tom Baum
- 23
- 5
0
votes
1 answer
Angular One time binding still has watchers on it
I used a simple AngularJS interpolation with one-time binding.
The code works as expected and any further changes to that scope variable are not reflecting.
However, when I was checking the performance of my application using Batarang (Chrome…

manikawnth
- 2,739
- 1
- 25
- 39