I want to create multilevel side bar menu.
Book
- Bus ticket
- train ticket
- Movie ticket
- Bus ticket
- train ticket
- Movie ticket
But i occur one error. If I click Book then Both menu book and print menu will open
I use this code
$scope.toggleGroup = function(group) {
if ($scope.isGroupShown(group)) {
$scope.shownGroup = null;
} else {
$scope.shownGroup = group;
}
};
$scope.isGroupShown = function(group) {
return $scope.shownGroup === group;
};
Can any one suggest me…
My Output is this like