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


#1

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.


#2

i m using this is in front =

Shop by Category

{{group.cat_name}} {{subcategory.name}}

and this is my function

.controller(‘SubmenuCtrl’, function($scope, $http) {
url=“http://www.ifloristdelhi.com/app-iflorist/list-menu.php”;
$http.get(url)
.success(function(data, status, header, config){
$scope.group = data.root.category;
console.log(data.root.category);
})
.error(function(data, status, header, config){
console.log(data);
})
$scope.moveGroup = function(group, fromIndex, toIndex) {
$scope.groups.splice(fromIndex, 1);
$scope.groups.splice(toIndex, 0, group);
};

})