Questions tagged as 'angular'

1
answer

Error 500 when sending file to SpringBoot-Angular2 server

I'm trying to send an excell from the Angular2 to the SpringBoot. HTML: <form #fileLoad="ngForm" (ngSubmit)="addExcell()"> <input type="file" id="file" name="file" class="form-control" (change)="fileChange($event)" accept...
asked by 13.07.2018 / 14:51
1
answer

Scroll to a div from another page using angular navigate navigate 4

I'm doing a navigation menu, in which I use angular.navigate router, which works correctly. However, I do not know how to do it so that when I click on the first element of the navigation bar, I will go to the page and scroll to a div that I hav...
asked by 11.07.2018 / 23:24
1
answer

Ionic dependencies not installed how to install everything at once

I need to know if someone knows how to install everything at once, or I have to do it one by one. npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself. npm...
asked by 01.06.2018 / 06:22
1
answer

Set value to input

I am working with Angular2 and I have a simple form: <div class='col-12'> <div class="form-group"> <label class="form-control-label" for="nombre">Nombre</label> <input class="form-cont...
asked by 05.06.2018 / 18:30
2
answers

which is what I download at https://github.com/angular/angular-cli

I want to start working with angular js, I have installed Node.js and when I run the command npm install -g @ angular / cli the execution gives me error which is the cause of this problem, embusqueda of a one solution I found that I can download...
asked by 06.06.2018 / 22:21
2
answers

Error 405 when consuming Api Rest service

I am having a problem when trying to consume an Api Rest service from Angular 6, my Angular code is as follows: GuardarDatos(datos:General):Observable<string> { const httpOptions = { headers: new HttpHeaders({ 'Content-Type'...
asked by 08.06.2018 / 23:31
1
answer

Load Angular image

I'm passing a project made in Typescript to angular (it's a chess). The problem I have is that I do not know how I can load the images of the chips. Code that I have to load the cards; colocarFichas(casilla) : void{ let img = documen...
asked by 28.05.2018 / 10:35
1
answer

Send Excel file to the SpringBoot-Angular2 client

I have to send an Excel from the SpringBoot server to the client in Angular2, Excel does not exist and can not be created because I do not have written permissions, so it will have to be put in a buffer or something ... The problem I'm having...
asked by 24.07.2018 / 10:32
1
answer

Iterate a JSON and access keys blindly. Angular2

I return from the beginning to Restructure all the question: I will receive the detail of a Master / detail of AgGrid, the problem is that I do not know how many elements I will receive or what is the key that I will receive, since they will...
asked by 15.05.2018 / 16:24
1
answer

How to access an element of an object in angular 6

I find myself trying to go through the following heros: any =[ { id: 200, name: "Iron man" , poderes: [ { name: 'fuerza' , nivel: 200, description: [ {...
asked by 14.05.2018 / 10:14