I don’t know if I get Data users in profile.ts or in other component.ts ?
When I get data users in profile.ts the data apper slow, how can use this is data users in someplace the project ?
getUser() {
this.userService.getUser().subscribe( user => {
this.guardUser(user);
});
}
guardUser() : any {
return this.profile;
}
so, this stay slow , I trying call data in app.component but I think it’s wrong