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

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -