Questions tagged as 'ionic'

1
answer

Change the header background of only one ionic page

You have a ionic project and require that% of all pages have a different background than the rest of the application. Home (HTML) <ion-view view-title="Home"> <ion-content id="home" align="center" class="bg-home"> &l...
asked by 30.08.2016 / 22:45
2
answers

How to load a value in select

$scope.init = function() { $scope.modelo = {}; $scope.marca = {}; $scope.modelo = {}; $scope.modelos = []; $scope.marcas = []; $scope.anos = []; $scope.precocarro=[]; $http.get('https://fipe-parallelum.rhcloud.com/api/v1/carros/marc...
asked by 25.02.2017 / 21:15
1
answer

Help with installing the Ionic Framework for Mobile Development

To install the nodejs , I followed the example given through the website below, in the error note below, it says that the version I'm using is: 0.13.0-pre link I followed this tutorial to install the Ionic Framework software on my U...
asked by 04.09.2015 / 20:49
1
answer

Pass database contents from page to page

It seems like something simple to search, but I can not. I would like to when clicked on an item in the list, open a new page with the detailed information of that item, it will be the same information used on the homepage. But I do not know how...
asked by 17.08.2018 / 22:47
1
answer

Upload image with form in Ionic or Angular

I want to take pictures of the device and upload the image to a certain path on my server. I'm trying to use Cordova Image Picker with Base 64. In my controller I use: .controller("form_identidade_visualCtrl", function($scope,$rootScope...
asked by 18.10.2016 / 19:05
3
answers

How to format Date field in Ionic Form / Angularjs

I have a date field on a form that looks like this: <label class="item item-input item-floating-label"> <span class="input-label">Validade da Oferta</span> <input type="date" ng-model="product.cadas...
asked by 12.01.2017 / 11:40
2
answers

How can I filter both by Category and by Price?

I have 2 filter buttons: Sort by price - That works. Sort by Category - Does not Work. I would like to run the filter both by price and by category. Both are modal and I'm doing the following: O Sort by price: View strand cal...
asked by 01.11.2016 / 13:59
1
answer

JSON in PHP with existing fields printing as Null, how to solve? [duplicate]

I have a SELECT that is not returning me some fields, such as "Notes". In the following image I'm ready the array and see that it is like "Null" the observations field: MyreturnSQListhis:<?phpheader('Content-type:application/json');head...
asked by 27.03.2017 / 20:59
2
answers

Disable Access-Control-Allow-Origin in Chrome and Firefox

I'm developing an app using ionic on the macbook with OS X Yosemite. When trying to send data via POST or receive via GET to a remote server, the error appears: Chrome:    XMLHttpRequest can not load link . In 'Access-Control-Allow-Orig...
asked by 11.08.2015 / 04:27
2
answers

Module Error in AngularJS

I can not understand and fix this error. I'm using ionic.    Uncaught Error: [$ injector: modulerr] Failed to instantiate module   inparty due to: Error: [$ injector: modulerr] Failed to instantiate   module inparty.controllers due to: Error:...
asked by 04.03.2015 / 15:55