美文网首页
Use fragment identifier - Angula

Use fragment identifier - Angula

作者: Zihowe | 来源:发表于2017-08-31 04:52 被阅读23次

Angular use fragment identifier to implement single page application.

因为是single page,不回重新载入新页面,所以我们的js的object也一直存在与memory中。
这样,我们就可以很容易的在各个页面之间交换数据了。

we can share data and services across the pages. 只要这个service是singleton就可以跨页面分享数据了。

Customer Services:
使用自定义服务我们可以

相关文章

网友评论

      本文标题:Use fragment identifier - Angula

      本文链接:https://www.haomeiwen.com/subject/sakzdxtx.html