@niallr you're totally right friend, the error was in my home.ts look
`
getData() {
this.service.getCauses()
.subscribe(
data => this.causes = data, <----- here is the problem
err => console.log(err)
);
}
I added someone, look
getData() {
this.service.getCauses()
.subscribe(
data => this.causes = data.causas, <----- here is the solution
err => console.log(err)
);
}
in my home.ts normally
{{ cause.name }}
`
now I would like to guard the user loggedin for example, edit profile yourself, how to make ?