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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -