You can try this link https://malcoded.com/posts/angular-ngrx-guide/
Cheers
On Sat, May 4, 2019, 6:28 PM Dev C wrote:
> hello
>
> i want to kearn ngrx, could you please provide me link for this? ( easily
> understable)
>
> thanks
> devsur
>
>
> --
> Sent from my mi note 4 phone.
>
> --
> You
hello
i want to kearn ngrx, could you please provide me link for this? ( easily
understable)
thanks
devsur
--
Sent from my mi note 4 phone.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group
You need to return the HTTP and Subscribe. Something like this. (UNTESTED)
service
getUtenti() : Utente[]{
> return this.http.get(this.API).then((data) => {
> let output = data['utenti'];
> for (var i = 0; i < output.length; i++) {
> let utente = output[i];
>
You need to subscribe. Something like this (UNTESTED).
service
getUtenti() : Utente[]{
> return this.http.get(this.API).subscribe((data) => {
> let output = data['utenti'];
> for (var i = 0; i < output.length; i++) {
> let utente = output[i];
>
You need to subscribe. Something like this (untested)
'''
getUtenti() : Utente[]{
return this.http.get(this.API).subscribe((data) => {
let output = data['utenti'];
for (var i = 0; i < output.length; i++) {
let utente = output[i];
Thanks Kalyan for you answer,
In the end I used the async wait. Is it a good solution?
Il giorno sabato 4 maggio 2019 06:12:55 UTC+2, Kalyan T ha scritto:
>
> Return http from service and subscribe it in component
>
> On Fri, 3 May, 2019, 8:53 AM , > wrote:
>
>> Hi everyone,
>> I have recently