Questions tagged as 'angular4'

1
answer

How to make a datatable with ngFor

I'm working on a project in angular, what I should do is create a datatable with data obtained from a Firebase database, the data I get correctly in this way: the problem that I have that when creating the datatable I make an ngFor to fill...
asked by 31.10.2017 / 17:23
1
answer

angular and google chart

I am new to Angular and I try to integrate it with VS2015 along with the Google chart. From the next link I was able to move forward, but it does not re-render as I hope. When I define the following route const appRoutes: Routes = [{ pa...
asked by 27.10.2017 / 16:16
1
answer

File js on vpn server

I have a dilemma, I'm working a char with sokect.io this is my .js let express = require('express') let app = express(); let http = require('http'); let server = http.Server(app); let socketIO = require('socket.io'); let io = socketIO(server...
asked by 03.11.2017 / 16:23
2
answers

Run http request before the DOM is ready in Angular 5

I'm using Angular 5 with angular-cli. I would like to know how I can execute several http calls before the DOM is 'ready' and the application initialized. I want to know why the application is very big (I am doing lazy loading) and in the net...
asked by 14.12.2017 / 21:10
1
answer

What would be the way to do the ngFor in angular 5

I'm with a big question, how could I show data in the following way from the following array: peliculas = [ { "pelicula": "Batman v. Superman", "director": "Zack Snider", "anio": "201...
asked by 22.01.2018 / 01:30
1
answer

View information from a json with angular

I have a json created with information that I want to visualize on the page with the use of {{}} and to do this I use the Http module and a service, but for this I have to add in the header constructor and the footer (which is where I want to vi...
asked by 06.12.2017 / 03:20
1
answer

Models and Services Angular 4 [closed]

My inconvenience is the following I am creating a system in which I have to consume a service through POSTMAN and create my services without problem my question is TO CONSUME OR CREATE A SERVICE IT IS NECESSARY TO CREATE A MODEL?     
asked by 13.11.2017 / 22:02
1
answer

Clear form without sending it [closed]

I am working with Angular 5 and I have a form with different validations. When touching a field the error appears, but if I leave the form without sending it and I re-enter, the form continues with the fields in red. Does anyone know how to clea...
asked by 19.01.2018 / 13:17