Angularjs ng-model no funciona dentro de ng-if
Aquí está el violín que muestra el problema.http://jsfiddle.net/Erk4V/1/
Aparece si tengo un modelo ng dentro de un ng-if, el modelo no funciona como se esperaba.
Me pregunto si esto es un error o si estoy malinterpretando el uso correcto.
<div ng-app >
<div ng-controller="main">
Test A: {{testa}}<br />
Test B: {{testb}}<br />
Test C: {{testc}}<br />
<div>
testa (without ng-if): <input type="checkbox" ng-model="testa" />
</div>
<div ng-if="!testa">
testb (with ng-if): <input type="checkbox" ng-model="testb" />
</div>
<div ng-if="!someothervar">
testc (with ng-if): <input type="checkbox" ng-model="testc" />
</div>
</div>
</div>