Answer the question
In order to leave comments, you need to log in
Does Angular have a built-in list "class"?
Hello!
In controllers, you often have to work with lists, the data in which is loaded via AJAX. As a result, having a bunch of repetitive code for adding entries to the list, clearing them, sorting, etc. took it all to a separate factory. But maybe for such typical tasks in Angular there is a ready-made solution that comes with the basic package?
Third-party libraries are not interested, because. adherence to the principle "the less dependencies, the better" is very important to me.
Answer the question
In order to leave comments, you need to log in
This is not in Angular, it seems to me that it is not needed there.
I don’t see anything shameful, if you have a lot of collections and manipulations with them, connect some lodash that will solve the necessary tasks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question