I have the following angular code:
<div ng-repeat="creation in creations">
<input type="checkbox" data-foobar="[[creation.foobar]]" [[creation.params]]>
[[creation.params]]
</div>
That's it, the problem is that creation.params contains "disabled checked" or "checked" values, and it should create disabled checkboxes, but it does not. I don't know why, all checkboxes are unchecked.
Even though when I later display creation.params variable, it shows correct value:
disabled checked
disabled checked
disabled checked
checked
disabled checked
for 5 checkboxes - but all are unchecked.
What's wrong?
By the way, I have used:
$interpolateProvider.startSymbol('[[').endSymbol(']]');
Aucun commentaire:
Enregistrer un commentaire