I
I
iDennis2014-10-30 20:02:44
JavaScript
iDennis, 2014-10-30 20:02:44

Why is a function called 20 times in angular?

Here is the link: jsfiddle.net/1opjecjj
Why is the function called 20 times when entering and not just once, and why did they do that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jiakki-js, 2014-10-30
@Jiakki-js

Because of $watch
habrahabr.ru/post/201832

A
Andrey Zenkov, 2014-10-30
@andreyzenkov

You probably achieved this - jsfiddle.net/andreyzenkov/kcpt4614

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question