Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

 3 Answer(s)

  • Hi, here is ngCordova plugin for native menus.
    You can inject $cordovaActionSheet in your controller like this:

    module.controller('ThisCtrl', function($cordovaActionSheet) {
    
      var options = {
        title: 'What do you want with this image?',
        buttonLabels: ['Share via Facebook', 'Share via Twitter'],
        addCancelButtonWithLabel: 'Cancel',
        androidEnableCancelButton : true,
        winphoneEnableCancelButton : true,
        addDestructiveButtonWithLabel : 'Delete it'
      };
      document.addEventListener("deviceready", function () {
        $cordovaActionSheet.show(options)
          .then(function(btnIndex) {
            var index = btnIndex;
          });
      }, false);
    });
    
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: