I am creating a guard for Angular 6 and I have encountered the problem that operators rxjs no longer go as before. Aside from being imperatively different, I had to put the .map or .task within a .pipe() . This has all...
I'm programming an app similar to Pinterest and I'm currently using ionic and firebase, but I do not know if it's a good idea to continue using them, since firebase presents some limitations such as not being able to get a Random get from a list...
I update:
I have several objects with start dates and end dates.
When inserting / modifying an object, the start or end date of the new object can not be between an existing object.
That is:
Exists: 06/06/2018 ----- 06/30/2018
The...
I have created a API that uses socket.io :
const socketIo = require('socket.io');
const serverHttps = https.createServer(httpsOptions,
app).listen(httpsPort, () => {
console.log('HTTPS: Server running at ' +
httpsPort)});
c...
I'm trying to give the property style.marginTop.px to my html by loading the value of an angular variable. Something like this:
Template:
<div class="map-container">
<div class="map">
<div class="marcador" [style.marginT...
I am making a form to create an account and I am faced with the following problem.
The first thing I do is go to find the json to an api that at the moment I have the json locally in assets,
This is the method of the service that is respon...
I am trying to create a Nav Tab from a loop with NgFor in Angular 7+ but when I try to bind the aria-controls property it always gives me error, attached code and error.
CODE
<a *ngFor="let video of videos; let i = index"
[ngClass]...
I'm having a problem handling Json in Angular.
The Json is:
{
"0": {
"id": "2287947",
"chattime": "1544102153",
"chat": "Finalizado",
"chattype": "text",
"media": "",
"outgoing": "0",...
I have an arrangement as follows
[{
first name:"---",
date: "05-06-2019"
},
{
first name:"---",
date: "08-06-2019"
},
{
first name:"---",
date: "10-01-2019"
}
]
I would like to order the arrangement of the form from the closest date to the farth...
I am using an Apirest and I have configured a .service file in Angular with Observables.
I need to get the value that the subscribe returns to be able to return it with a return but it always throws the return before I finish the http.service...