Saving array firebase and recover

hi all.
How do I save this in fireabase and how do I recover it?

$scope.items = [
{‘code’: ‘1111’, ‘name’:‘itemA’, ‘price’:1,},
{‘code’: ‘2222’, ‘name’:‘itemB’, ‘price’:2,},
{‘code’: ‘3333’, ‘name’:‘itemC’, ‘price’: 3,}
];

thanks! i use ionic 1