I would like a transition effect in the menu when giving a ng show or ng hide (click the open button).
<a class="sandwich panel" ng-class="{'open' : isOpen}" ng-click="isOpen=!isOpen; toggleCustom()">
<div>
</div>
</a>
</nav>
<div ng-hide="custom">
<ul class="menu-mob">
<li class="menu-option color-menu-selected" ng-click="isOpen=!isOpen; toggleCustom()"><a ui-sref="home">Home</a></li>
<li class="menu-option color-menu" ng-click="isOpen=!isOpen; toggleCustom()"><a ui-sref="vandergama">Client</a></li>
<li class="menu-option color-menu" ng-click="isOpen=!isOpen; toggleCustom()"><a ui-sref="portifolio">Portifólio</a></li>
<li class="menu-option color-menu" ng-click="isOpen=!isOpen; toggleCustom()"><a ui-sref="contato">Contato</a></li>
</ul>
</div>
Angular:
app.controller("app", function($scope){
$scope.custom = true;
$scope.toggleCustom = function() {
$scope.custom = $scope.custom === false ? true: false;
};
});
My Css would not help much, but the idea is that when you open the menu, it has an effect like this - > HERE