shi*_*ram 5 arrays cookies angularjs
摘录如下
function CartForm($scope,$cookieStore) {
$scope.invoice = {
items: [{
qty: 10,
description: 'item',
cost: 9.95}]
};
//want to add the above array to cookie store here
}
Run Code Online (Sandbox Code Playgroud)
我如何将上面的数组放入cookiestore,然后访问它并绑定它?
| 归档时间: |
|
| 查看次数: |
6252 次 |
| 最近记录: |