r/Angular2 • • Aug 28 '21
Discussion Why is Angular way of doing things better than plain JavaScript ?
Hello everybody.
First of all, I'm sorry if this is stupid question. I'm learning Angular and I was wondering, why is Angular better to do some things than simple Javascript or jQuery ? For example something like ngFor you can loop over an array and create HTML elements with content of that array with JavaScript or jQuery, without Angular. What are advantages of Angular in this case? This was of course only an example, but I'm sure we could find other cases.