Questions tagged [ionic-popup]

In the Ionic Framework, the Ionic Popup service allows programmatically creating and showing popup windows that require the user to respond in order to continue.

In the , the Ionic Popup service allows programmatically creating and showing popup windows that require the user to respond in order to continue.

The popup system has support for more flexible versions of the built in alert(), prompt(), and confirm() functions that users are used to, in addition to allowing popups with completely custom content and look.

Useful link

80 questions
0
votes
2 answers

ionicPopup cannot get input value

I follow the sample of $ionicPopup.show here but fail. angular.module('main').directive('dtDiscount', function($ionicPopup) { return { require: 'ngModel', scope: { operators: '=operators', toggle:…
Jacky Lau
  • 665
  • 5
  • 21
0
votes
0 answers

How to style an ionic HTML template?

I would like to know how to style an ionic HTML template (newPopupTemplate) that I coded into my "directive.js" file, I tried to add a with a CSS class added, but it doesn't work...And ideally, I'd prefer to style each elements (label, input...etc)…
Memphis
  • 410
  • 5
  • 23
0
votes
1 answer

Service Function is not recognized

I have this Service: function AddSuggestedPeersService($http, SITE_CONFIG) { console.log("I come in Add Suggested Peers Service"); var addSuggestedPeers = this; addSuggestedPeers.addSuggPeer = function(peerID, mode) { // a…
Pritam Banerjee
  • 17,953
  • 10
  • 93
  • 108
0
votes
2 answers

Ionic PopUp : TypeError: Cannot read property 'confirm' of undefined

I would like to code a simple "confirm ionic pop up", but I had this issue that I can't solve. I'm sure if you take a look you'll find it out, because now it's like I was totally blind against it ... TypeError: Cannot read property 'confirm' of…
Memphis
  • 410
  • 5
  • 23
0
votes
1 answer

Ionic 2 camera usage other than base64 encode

Is there any way to use the camera, but the picture not to be base64 encoded on ionic 2 platform? I want to use other encode than base64. Thank you
0
votes
2 answers

how to change service options in controller in angularjs

I'm working on an ionic app, I have written an angularjs service for ionic confirm popup, service app.factory("PopupSer", ["$rootScope", "$ionicPopup", function ($rootScope, $ionicPopup) { return { delete: function ()…
0
votes
0 answers

angular 2: key and push many values

i'm looking to make in my ionic 2 app array with key and object values. For example: var newLecture={ name:lecture.name, email:lecture.email, phone:lecture.phone , lesson_type:lecture.lesson_type , …
Manspof
  • 598
  • 26
  • 81
  • 173
0
votes
1 answer

Why is the ionic popup not working?

I am creating an AngularJS + Ionic app, and am trying to show a popup message when the user clicks on a button. This is the index.html:
0
votes
1 answer

IonicPopup i cant take data from ng-model

I am new at this correct me if I'm wrong . I want to take the name data from the input with ng-model but i cant take the data at the onTap: function. I tried to alert $scope.name but it is empty doesnt work,then i tried $scope.name="" empty at the…
erdemgunenc
  • 969
  • 3
  • 14
  • 25
0
votes
1 answer

Ionic Opening Modal on top of popup

I am new to Ionic. While I was playing around with Ionic components, I found that when I try to create modal within popup, the contents inside modal are not able to be clicked. I found similar question: Open an ionic modal on top of an ionic…
smchae
  • 1,035
  • 3
  • 17
  • 39
0
votes
2 answers

Checking for Active Network connection and exiting the app if not active in ionic using ngCordova

i am developing a conference app that is data driven and constantly will be updated from the web server. i am storing data on the local storage for persistence, but when the app is installed and launched for the first time i want to pop up a "No…
0
votes
1 answer

ionic 2: login with google+ works in browser but not in smartphone

i succee to do login with google+ into my app. when i check it in chrome\explorer when i run my app it works fine, but when i check into my smartphone or emulator of android it shows me login successful toaster(pop up) but it stay in the same page…
Manspof
  • 598
  • 26
  • 81
  • 173
0
votes
1 answer

OAuth [Facebook / Twitter] Pop Up doesn't open when I click on Social Icons + Ionic + Firebase

I followed this article to create OAuth for Ionic App with Firebase as backend service. Was able to bring up the app in Ionic Lab and social icons were visible. But when I click on any icon, nothing happens. Just know that my code uses…
0
votes
1 answer

How can I redirect to another template when the submit button is pressed in Alert Ionic Framework?

I have a alert function in controller.js: function showAlertFinishedTest() { var confirmPopup = $ionicPopup.confirm({ title: 'Finished', scope: $scope, template: 'Are you sure to submit the result?' }); confirmPopup.then(function(res)…