Questions tagged as 'angularjs-2.0'

1
answer

Problem with FormArray that contains a FormGroup

Hello everyone I have a problem when inserting the data I pick up from a rest service, this service would be like this. valor: Object = { nombre: "jose", apellido: "campos", direccion: { direccion: "calle de la mar", numero: "18" }, conta...
asked by 09.04.2017 / 18:02
1
answer

Add pipe to formControl angular2 Reagent Forms

My question is that, how can I add a pipe like that to a reactive form, for non-reactive cases, I have seen that it can be done in the following way. <input [ngModel]="item.value | useMyPipeToFormatThatValue" (ngModelChange)="item.va...
asked by 27.03.2017 / 19:40
0
answers

Communication between different websites through rest

I have a question, suppose you have a domain www.example.com and 2 subdomains www.sub1.example.com www.sub2.example.com I clarify that the 3 pages use mongo express and the whole node stack. If you would like to communicate and shar...
asked by 23.03.2017 / 19:35
0
answers

I get an error Password can not be blank ruby on rails 5

I am using Rails and angular 2 for my app, in my api rails I have added the gem 'bcrypt', '~> 3.1.7' my database table has password_digest: string and my model has_secure_password . When I sent my form I get an error  ...
asked by 22.02.2017 / 09:02
0
answers

Can you convert project Angular2 to Ember?

I have a project with angular2 and when I execute the command    $ ng build -w I get an error    You have to be inside an ember-cli project in order to use the build   command. Can an existing angular2 project be converted into an...
asked by 11.01.2017 / 11:10
0
answers

How can I clean the client cache in Angular2?

How can I clean the client cache in Angular2 (final version, not RCx)? Every time I deploy a change made to an app on the server, it is not reflected on the page unless I clean the browser cache. In Angularjs if I know some methods to "delete...
asked by 09.01.2017 / 09:59
2
answers

Parse data from an object inside a JSON in Angular2

I followed this tutorial to create a table with a JSON in Angular 2 . link My question is, if I had a JSON of this type: {"visitas": [{ "_id": "586b5d313406cd103c3f38d5", "fecha":"01-ene-2017", "paciente": { "_...
asked by 31.01.2017 / 22:36
0
answers

Pipe in Angular returns the values in the console but not in the screen

I have this pipe , it prints me in the console the values I want but not on the screen. This is the pipe code: import { Injectable, Pipe } from '@angular/core'; // AngularFire import { AngularFire } from 'angularfire2'; // Firebase imp...
asked by 11.03.2017 / 01:08
0
answers

'ERROR in Can not read property' listLazyRoutes 'of undefined' Angular 2 [closed]

Good day for everyone, someone knows how I can fix this error when launching ng serve from Angular 2, I am trying to create the dist folder with its files for production     
asked by 26.12.2016 / 20:50
1
answer

Currency Format in an input of Angular2

When we want to format a tag in Angular2 as a currency we use the Pipe Currency: <p>{{cantidad | currency}}</p> That works perfectly, but if what we want is for the user to put an amount of money in an input, how do we get it to...
asked by 05.12.2016 / 21:37