Questions tagged as 'angular'

1
answer

How to work with the 'Camera' plugin to allow image upload when in a browser?

I'm trying to implement a feature that allows me when in the browser, uploading images, already on a mobile device, I'll have the options to take a photo or choose an image from the gallery. Taking a photo or choosing from the gallery is alre...
asked by 23.09.2018 / 20:35
0
answers

How to read data from config.xml on Ionic 3?

How do I read the following data from the config.xml file: version name description email. Example of real structure: <widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova....
asked by 23.09.2018 / 09:26
1
answer

Precedence of attribute / event declarations in TAGs make a difference? Angular2 +

I've been working with AngularJs and Angular2 + for almost two years and recently, in Angular2 +, I came across a different situation that made me wonder if it was a coincidence or because of the Angular version I'm using. But does anyone know t...
asked by 14.09.2018 / 20:26
0
answers

Can not read property 'controls' of angular undefined

I'm trying to follow the following tutorial on angular io to add to my form fields dynamically: AngularIO Tutorial However, I'm getting:    Can not read property 'controls' of undefined My code: import { FormBuilder, FormArray }...
asked by 19.09.2018 / 14:20
0
answers

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'true'. Current value: 'false'

Thiserrorhappenswhenacallofaneventonblur()ismadeinthecomponent.ts: Errorprocedure:Whenperformingarecord,insertingdatainthefirstCODEfield,withonly1digit,itaccessesaOnBlur()event,whichverifiesthatthesamecodeenteredisgreaterthan0,withtheexpression...
asked by 19.09.2018 / 16:19
1
answer

CORS problem when making GET call on Angular 6

When I call the following URL: link directly in the browser or in POSTMAN I get the JSON correctly , but when I try to call the same link via GET in the Angle, I get the error: "Failed to load link ...: Origin ' link > 'is therefore not a...
asked by 11.09.2018 / 22:01
0
answers

How to consume a given Json from an http address

   I'm trying to consume a given Json from an http address, but   I do not know what's going wrong.       I've split the question into two groups my other doubts import { ComprasService } from './compras.service'; import { Compra } fro...
asked by 12.09.2018 / 01:34
0
answers

Angular Compiler was detected but it was an instance of the wrong class

I was currently working on a project, consuming an api rest from the angular, but in the course, I'm encountering an error that is returning me that I have 2 webpack packages inside my application. I tried to find some solution on the case, b...
asked by 10.09.2018 / 19:22
0
answers

How to convert an Angular application 2 to a WordPress plugin

Hello, I have a SPA application created using Angular 2 and it does a specific integration with WordPress. When doing the build for production I have the files used to access my application. I need to be directed to that application when the...
asked by 12.09.2018 / 23:09
3
answers

How do I set the first value in the combo?

Well, I need a help: I am trying to set the first state in the combo, I have already put the selected but without success. Can anyone tell me what might be wrong, or something to help me solve. My code: <div class="col s6"> &l...
asked by 06.09.2018 / 17:29