Questions tagged as 'angular'

1
answer

how to send data between two child elements with angular 4

I have two three elements Father Son 1 Son 2 What I need is to be able to send an array of data from the element Son 1 to Son 2 <!-- Elemento Hijo 1 --> <app-rango-form></app-rango-form> <!-- Elemento Hi...
asked by 15.05.2018 / 02:27
1
answer

Http Post sends the data in disarray

I have a function that sends data that is in a vector with an http post, so what I do is go through the vector with a for cycle and I send the data to the database, the problem I have is that the data is arriving in disorder to the database, tha...
asked by 17.12.2018 / 22:34
2
answers

I can not install the angular cli nor the Ionic in Linux UBuntu 16.04

I'm using ubuntu 16.04, it's been a while since I want to install angular cli, probe with the command npm install -g @angular/cli I get an error like this in the terminal: pm WARN checkPermissions Missing write access to /home/juans...
asked by 04.06.2018 / 18:16
2
answers

Problem with directive in Angular 1.5

I have the following code that has the <count-characteres> directive <label class="control-label"><cr/>Género <count-characters c-name="genero"></count-characters></label> <div class="inpu...
asked by 05.09.2018 / 14:46
2
answers

How to change date language Data pipe Angular 6?

I would like to change the language of the date of my app to be from Argentina, I tried with this configuration looking at the documentation of angular but it remains unchanged. There remains the default configuration that is en-US. It does not...
asked by 07.09.2018 / 18:31
1
answer

Error importing "Injectable" from Angular

File color.service.ts : import { Injectable } from '@angular/core'; import { HttpClient, HttpClientModule } from '@angular/common/http'; import { HttpModule } from '@angular/http'; import { GLOBAL } from '../services/global'; @Injectable()...
asked by 04.10.2018 / 18:22
2
answers

How to hide a block and show in Angular 4?

Please, I would like to have a input which when I clicked on it, the contents of a div appeared and I had a button that when pressing it, the div disappeared again.   Example <div class="fileContainer"> <input type="file"&g...
asked by 23.03.2018 / 14:14
2
answers

Show html tag if Angular2

I want to show a label if there is data to show: <ng-template *ngIf="enableValidation(param.boolean)"> <a href="{{param.link}}"> <clr-icon shape="info-standard"></clr-icon> Acceder </a> </...
asked by 15.11.2018 / 11:49
1
answer

Implement Http Headers in Ionic-Angular Project (Enable Cors in Api Rest)

I am trying to consume an ApiRest, but because they added a token validation, I can not consume it. Before they added that validation, if it managed to consume it correctly. As you have to send the token, I can not consume it. The error is as...
asked by 02.10.2018 / 19:55
2
answers

How do I avoid the click event if it does not? - Angular

I have this button in Angular, that even if I have it disconnected, I open the file explorer, I usually do it is <miBoton (click)="estaDesamblado?'':miEventoClick()" > Some correct way to solve it #abrirArchivo{ display: no...
asked by 20.06.2018 / 17:18