Answer the question
In order to leave comments, you need to log in
How to get rid of HTML redundancy when using AngularJS?
Disclaimer: I'm just starting to learn this framework.
AngularJS is a good solution to get away from jQuery style noodles. That's how it seemed to me initially. But now I'm starting to doubt.
I am involved in a big project. Localization in three languages. If you look into the view (that is, the html page) of some module, then it is not clear what is happening there. Some kind of hodgepodge of directives and bindings. I begin to suspect that we are doing everything wrong, or is such redundancy typical for angular?
Answer the question
In order to leave comments, you need to log in
Hmm ... there really is a hodgepodge. But do not forget that AngularJS is designed to solve other problems. If the project is large, then it is advisable to use one Angular. If the project is small and you just need to fasten the carousel, then jQuery is more appropriate in this case. One framework does not replace another, comparing them is incorrect and they solve different problems. Compare Backbone, Ember and AngularJS or Mootools and jQuery. This will be more correct.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question