One of my mates in work show me a really weird behavior of one-time binding in angular.
UseCase:
When you have an element which text is binding by that one-time binding inside block which is conditional by ng-if, then if we change that value, for example adding some letters, and later change the condition of ng-if, and after that the value from one-time binding has been refreshed.
HTML:
<div ng-if="a" class="blue">{{ ::text }}</div>
It is a kind of bug, or expected behaviour?
Here is an example of what I'm doing: http://codepen.io/samot/pen/rLJAdN