Avoid subscribing to Observables within other subscriptions (nested subscriptions). Instead, you should should use pipeable rxjs operators like switchMap, mergeMap, filter, map, and tap.
Some of these tslint rules can be helpful for catching nested subscriptions and other RxJS issues.