How save a reverse categories on Ionic, firebase


#1

Hi,

This my json data for http://angular-ui-tree.github.io/angular-ui-tree/#/basic-example

How save it on firebase? thank you
[ { "id": 1, "title": "node1", "nodes": [ { "id": 11, "title": "node1.1", "nodes": [ { "id": 111, "title": "node1.1.1", "nodes": [] } ] }, { "id": 12, "title": "node1.2", "nodes": [] } ] }, { "id": 2, "title": "node2", "nodrop": true, "nodes": [ { "id": 21, "title": "node2.1", "nodes": [] }, { "id": 22, "title": "node2.2", "nodes": [] } ] }, { "id": 3, "title": "node3", "nodes": [ { "id": 31, "title": "node3.1", "nodes": [] } ] } ]