Questions tagged as 'ionic'

2
answers

Pass data from father to son ionic2

Hi, I want to pass data from a parent component to a son on ionic2, I know it's done with input, but the problem is that the data is sent to me empty, using a normal angular2 application, it sends me the data without problems, but using ionic, I...
asked by 06.02.2017 / 09:43
2
answers

Assign default value to a select that is filled with ng-options

The problem is the following:   I have several selections the first two of region and provinces are filled only, but that of cities depends on the province selected and the one of polygon is shown only when the city of valdivia is selected, but...
asked by 25.11.2016 / 05:22
1
answer

Add sidemenu with ionic 2

Hello, I have a project in development with ionic. And I need to show a sidemenu, but the examples I have obtained are using the sidemenu template of ionic which works very differently. If you could explain me or put a link to see how I could do...
asked by 22.11.2016 / 23:42
1
answer

android "Illegal Access" cordovaGeolocation

I have installed the corodova geolocation plugin, could you tell me why because of that error ?, what is intale like on this page link . and I just put: $cordovaGeolocation .getCurrentPosition(posOptions) .then(function (position) { v...
asked by 15.11.2016 / 18:00
2
answers

Assign the http data in ionic 2 when loading the view

I can not understand why you do not assign the value to the variable this.userProfile I tried with promises and also do not assign any ideas? Code: import { Component, OnInit } from '@angular/core'; import { NavController, NavParams,...
asked by 07.11.2016 / 18:32
1
answer

Ionic client to the API with NodeJS

I have a problem, it's an API with NodeJS and the client with Ionic (code available here as well). // SERVICES.JS angular.module('app.services', []) .factory('loginService', function($http){ return{ print: function() {...
asked by 15.01.2017 / 15:04
1
answer

Activate ionic cache

I have a problem with the cache in an app made with Ionic. Supposedly active the cache in the "config" of the module in the following way app.config(function($ionicConfigProvider) { $ionicConfigProvider.tabs.position('bottom'); $ion...
asked by 15.01.2017 / 00:25
1
answer

Save function value base64 in array?

I am working on an application in ionic framework and I need to send the following object by $http by post method. $scope.project = { name: '', description:'', location: '', imgs: {}, video: '' }; I ha...
asked by 20.08.2016 / 06:44
2
answers

Can not read property 'openDatabase' of undefined on android

Trying to manage a database on the device through the plugin that facilitates ngCordova , I have come across the following error, and I do not sincerely see the reason. The device has android 4.2.2 Error TypeError: Cannot read property 'op...
asked by 21.12.2016 / 03:20
1
answer

Error using ng-model on a button element

I am trying to place the value in the table in the insert tasks in ng-model , but I get the following error: Error: [$parse:syntax] Syntax Error: Token '{' invalid key at column 2 of the expression [{{tarea.fila}}] starting at [{tarea.fi...
asked by 20.07.2016 / 22:25