Considering I am unaware of how many sub objects my parent object will have how can I create a menu using ng-repeat or any other method.
Let's say my object is:
var Obj=[{
    "node1":[{
         "Subnode1":[{
                "SubSubNode1":[{
                       ...
                    }]
              }]
    },{
        "Subnode2":[{ ... }]
    }]
},{
    "node2":[{ ... }]
}];
How can i create a menu for the above object using angularJS?