Posts by Kaoe Coito • 1 point
1 post
-
0
votes1
answer148
viewsA: Angular: PHP JSON returns as Undefined
Your call is asynchronous so put the logs and conversions in the subscribe this.objetivosService.getObjetivos().subscribe(objetivos => { this.objetivos = objetivos; console.log(this.objetivos);…