title: Is it possible to if ..else staement under subscribe() angular?
body: <p>M working with spring boot as backend and angular. I got two error response from backend. 'Unauthorized' and 'Please verify email' I want to know is it possible to check condition as given code below.</p>
  <p><a href="https://i.stack.imgur.com/ywxbR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ywxbR.png" alt="enter image description here" /></a></p>