Context: I'm new in this world of AngularJS and i'm using ng-repeat to show elements that I get from my database whit laravel. I need to ask to the database every time that I set the state(active(1) or desactived(0)) to show in two diferent tables(active or desactived). I'm using the filter that provides angular.
I need to ask every time because diferents session going to see/change the states, but just one can take the object or objects.
I have like 100 elements in this moment, but I'll have more whit the time.
Questions: Ask the database, load the data and show whit ng-repeat is too mush costly in the client side? which is the best way to do this?
Sorry about my english and i hope you understand and can help me.
Google translate is my copilot.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire