initial data loading in angularjs

前端 未结 4 1294
借酒劲吻你
借酒劲吻你 2021-02-05 04:19

When building a web app where every page depends on many data sources, what\'s the best way to fetch the initial bits of data? When I look at twitter, I see the tweets that are

4条回答
  •  感情败类
    2021-02-05 04:57

    According to the answers on this question, a JSON object in a script tag on the page seems to be the way to go. If ayone comes up with a better idea, I'll accept your answer.

提交回复
热议问题