How to set side menu list in a list (category listing) ....?


hey friends…
i m create side menu app and i want to show 3 level category listing, using single web sevices. how to bind dynamic data in side menu app.


i m using this is in front =

Shop by Category

{{group.cat_name}} {{}}

and this is my function

.controller(‘SubmenuCtrl’, function($scope, $http) {
.success(function(data, status, header, config){
$ = data.root.category;
.error(function(data, status, header, config){
$scope.moveGroup = function(group, fromIndex, toIndex) {
$scope.groups.splice(fromIndex, 1);
$scope.groups.splice(toIndex, 0, group);