Do we ever need to unsubscribe from an Observable? When is the time we need to use unsubscribe?
I read an angularfire2 article talking about using firebase.auth to check user's login status. In the end of code, he unsubscribes from auth.subscribe. https://javebratt.com/angularfire2-email-auth/ (please see app.component.ts).
I was really confused, since I thought the Observable will "unsubscribe" itself after completed or on error.
Do we need to unsubscribe from observable that completes/errors-out? and Do you need to unsubscribe from Angular 2 http calls to prevent memory leak?