AngularJS : why button hide after click? -


i trying open menu menu opening on button click .i able show menu option .but facing 1 issue button hide when menu option display.menu should display below button.i need show button menu when user click on button.i need menu should display below button

here code

http://codepen.io/anon/pen/rpaokj

var app = angular.module("ionicapp", ['ionic']); app.directive('custommenu', function () {     return {         restrict: 'a',         scope: {          },         link: function (scope, element, attr) {              $(element).menu();         }     } }) app.controller('cnt', function ($scope) {     $scope.ismenuvisible = false;     $scope.showmenu = function () {         $scope.ismenuvisible = true;      } }) 

the button not hide.

try add margin-top: 30px; .menu

http://codepen.io/anon/pen/xbdqgn


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -