Questions tagged as 'angularjs-2.0'

1
answer

Error in ANGULAR form 5 in the title field?

It gives me an error in the field title in theory I have it well I put the form <form (ngSubmit)="crear(a)" #a="ngForm" class=""> <label for="exampleFormControlSelect1">User_id</label> <select class="form-control" id="exa...
asked by 02.03.2018 / 20:34
1
answer

How to pass token with angular 5 and httpclient?

I need to pass the token that comes to me from the database so that laravel lets me enter the content. Here I leave my code import { Component } from '@angular/core'; import {HttpClient} from '@angular/common/http'; import {SessionStorageS...
asked by 28.02.2018 / 12:02
1
answer

How to login at angle 5?

I'm trying to do it with httpclient but I do not get the goal this is my code import { Component } from '@angular/core'; import {HttpClient} from '@angular/common/http'; import {SessionStorageService} from 'ngx-webstorage'; import { Router } f...
asked by 27.02.2018 / 20:16
1
answer

Problem with Angular 2 and CROS

Good afternoon comapñeros, I have a problem with Angular2 and certain POST requests when doing them from the application client. Scenario: The API is implemented in SpringBoot . Client application Angular 2 + HttpClient. T...
asked by 23.01.2018 / 16:43
1
answer

Update the view in Angular 5?

I'm using a method that erases the files from the database by clicking on the trash when I click it, but it does not get updated in the view if I do not do f5 in the browser as I could do this without having to update the page import { Compone...
asked by 01.03.2018 / 20:37
2
answers

Angular 2: Array declared with const is modified

I have the following problem, I have been trying to find the answer for a few hours, I put it in context. I have this code. in a theme.model.ts interface spectrum{ shade: string; hex: string; contrast: string; }; interface pal...
asked by 20.01.2018 / 03:01
1
answer

How can I get write permissions on ATOM?

How can I give permission to ATOM execution so I can create folders?     
asked by 10.01.2018 / 19:55
1
answer

I do not want to work the decorator @input in angular

Good morning to want to pass data from father to son with the decorator @ input to run the page I get this on the page: Failed to compile. ./ src / app / son / hijo.component.ts Module not found: Error: Can not resolve '@ angular / core /...
asked by 14.01.2018 / 16:08
1
answer

JSON Object as Select value - Angular 2

Object export class Car { ID: String; dors: [{ number: Number, postion: { x: String, y: String, z: String, } }] } It is possible to define the value of a select as an object and not...
asked by 12.01.2018 / 12:50
1
answer

Problem: "Function in ngFor runs multiple times without stopping"

HTML: <input #inputCodigo type="text" (keyup)="searchProductoBarCode($event)"> </div> </article> <article *ngIf="proforma && proforma.productos.length"> <table #tableDispatch tabindex="-1" [attr.role]="...
asked by 15.01.2018 / 21:20