A
A
abusabir2015-12-28 21:16:05
Angular
abusabir, 2015-12-28 21:16:05

Why is the view not updated after changing the model?

Another probably stupid angular question.
There is a controller model associated with view.
With some changes, the model changes in the corresponding factory, but the view does not change for some reason, unless you put focus on the corresponding input, for example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aitem, 2015-12-28
@Aitem

Try to call $scope.$apply() after changing $scope

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question