Questions tagged as 'angular5'

1
answer

check if a user exists in firebase

I am working on a project in ionic and I have done the login with googleAuthentication , when I login / register I add some data to my firestore , like the image and the email. In my mobile application I allow to change the im...
asked by 08.05.2018 / 23:26
1
answer

Validatior Async Angular 5 does not show me messages

Hi, I am new at angular I have version 5 and I am trying to do a validation to verify if a data is registered in the database, the details is that when the validation is executed, the error message is not interpreted. it is a problem of how the...
asked by 09.05.2018 / 03:04
1
answer

Error .spec.ts in Angular5

I have the following error caused in the spec.ts It is given by this function. beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [UserPanelComponent] }).compileComponents(); })); The description...
asked by 18.04.2018 / 11:01
1
answer

Get the name of a class in Angular?

I'm working with Angular 5 . I am passing an object to a component, with the decorator @Input (): @Input() x: any; This object can be of class Xxx, Yyy or Zzz. Can I know within the component if the object received is of one kind o...
asked by 21.05.2018 / 11:09
1
answer

The base tag href="" does not work in IE

I deployed the angular application in production mode and in all browsers it is shown except in Explorer 11, where I receive the following error message:    Error: Uncaught (in promise): Error: Can not match any routes. URL Segment: 'pet' Err...
asked by 11.04.2018 / 03:04
1
answer

Error reading undefined property

When I try to do ng build --prod Displays the following error:    92% chunk asset optimizationC: \ Users \ IvanTadeo \ Documents \ petstar \ front-end \ node_modules \ clean-css \ lib \ reader \ input-source-map-tracker.js: 37 if (origin...
asked by 11.04.2018 / 02:00
1
answer

Angular 5 delete sibling components when starting

I have the following structure in parent component app.component <app-header></app-header> <router-outlet></router-outlet> <app-footer></app-footer> in router-outlet the dynamic components are loaded (...
asked by 08.05.2018 / 16:19
1
answer

How to use LOCALE_ID 'es-ES' in ionic 2?

I have a project in: Ionic Framework: 3.9.2 Ionic App Scripts: 3.1.8 Angular Core: 5.0.3 Angular Compiler CLI: 5.0.3 Node: 6.7.0 OS Platform: Windows 8.1 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKi...
asked by 13.02.2018 / 17:42
2
answers

Error Can not read property 'message' of undefined in Angular 5

I have a problem with angle 5. I have found some similar question but I have not managed to solve anything. The thing is that I have an http service that I am consuming from angular with a get request, which returns a Json. What happens to me is...
asked by 25.04.2018 / 13:05
1
answer

How can I print the result of an ajax response in a table from javascript?

How can I print the result of an ajax response in a table from javascript? Currently I print it with a label inside the table, ideally the rows will be formed and not just a column with all the results of the answer. My js code: func...
asked by 22.05.2018 / 20:00