You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On top of that, if the $refresh method is implemented in the controller and another attribute is changed inside of it, the update done in the $init is ignored: http://plnkr.co/edit/gARSz3kim7YNKQrMBkaH
This is probably due to the fact that the value for the index attribute is re-read from the data-model, which hasn't been updated before.
The text was updated successfully, but these errors were encountered:
When an attribute of a component is "2-way"-bound, the data model is not updated if the attribute is modified in the
$init
method of the component.You can find an example here: http://plnkr.co/edit/KQFVQ8kC6GoKctYE38uD
On top of that, if the
$refresh
method is implemented in the controller and another attribute is changed inside of it, the update done in the$init
is ignored: http://plnkr.co/edit/gARSz3kim7YNKQrMBkaHThis is probably due to the fact that the value for the
index
attribute is re-read from the data-model, which hasn't been updated before.The text was updated successfully, but these errors were encountered: