Questions tagged as 'angular'

3
answers

Authentication recommendations in Angular 2+

I'm looking at the issue of angular authentication, either logging in, or registering using APIs such as Google or Facebook. I am currently using the latest version of Angular 5, and I am in doubt about what kind of authentication should be d...
asked by 18.02.2018 / 02:16
1
answer

Error in Ionic 2: "No component factory found for"

I'm trying to show a new page in an app of ionic (the app was not created by me, I've only been asked to modify it ), when I execute this.navCtrl.push(aportacionesPage) it returns the following error:    No component factory foun...
asked by 31.01.2018 / 09:06
0
answers

HTML Trusted or HTML Safe

I need to change the format to display an XML on the screen in Angular 2, and I found a script that works. I call said format-xml through a Pipe : import { Pipe, PipeTransform } from '@angular/core'; import * as jQuery from 'jq...
asked by 26.01.2018 / 13:56
1
answer

POST request with multipart / form-data header with angle 4

When trying to make a request POST to the server with angle 4, returns error, I have already tried a million things and nothing, I have investigated and nothing. this.http.post('localhost:53286/api/Home/Signup', formData, options).suscr...
asked by 19.12.2017 / 22:13
0
answers

Error 403 in Angular 4.3 Interceptor calls twice

I am consuming a service made with Java, which needs to be sent a jwt, previously generated by a login. For this I created an interceptor in Angular 4.3 vt-auth.interceptor.ts import { Injectable } from '@angular/core'; import { Ht...
asked by 28.09.2017 / 20:08
2
answers

Observable inside a for

I am practicing ionic2, I am doing services with observables, in one part I made a for and within that for call another service but it seems that it stops the for and is counting the total of the array. Is it because of the observable that stops...
asked by 05.04.2017 / 20:06
1
answer

Handle schedules on firebase

I am doing a task for the university using the real-time database of Firebase in Ionic and Angular 2. I do not have any problem in the typical crud, but I need to make a change of a data from the database , and a certain time later (one hour, fo...
asked by 28.09.2018 / 07:28
1
answer

Can not find module 'angularfire2 / database / database'

Can you help me with that error please, I'm using angular4. package.json { "name": "platzisquare", "version": "0.0.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build",...
asked by 25.10.2018 / 00:01
3
answers

Place array values in true javascript

I have an object, inside that object, I have two properties. The first property is of the boolean type; the second property is of type boolean []. I need to put all the values of the array of the second property in true. I suppose I could do tha...
asked by 11.07.2018 / 22:25
1
answer

Migrating Angular 1 to Angular 2

I am new to Angular 2, I want to migrate this code from Angular 1 to Angular2, could you please give me an idea of how to do it. // Forgot Password $scope.passwordDialog = function($event) { prompty({ title: 'Password Recovery',...
asked by 22.03.2018 / 22:15