What is good practice to load data in Angularjs? -


i have 2 kinds of information:

  • my messages
  • messages me

i can 1 ajax request in angular types of messages, approximately 2000+ notes. filter ng-repeat.

but there lot of messages. break page , use lot of resources? if yes, can load data separated click. practice load data on page in angular js?

you should load data using ng-repeat don't load 2000 records, may cause performance issue while rendering dom. believe should use pagination on records use paginate library

example plunkr


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -