A Admin • 828.70K Points Coach Q. How do you unsubscribe from an Observable in Angular to prevent memory leaks? (A) Call unsubscribe() method on the subscription (B) Use async pipe only (C) Unsubscribe is automatic, no action needed (D) Call complete() method on Observable Correct Answer - Option(A) Views: 17 Filed under category Angular JS Hashtags: Share Manage Tags
Discusssion
Login to discuss.