title: How to hide data based on state name in Angular 4?
body: <p>I am new to Angular 4. I am trying to hide some data whenever the state changes. How can I hide particular data based on state name in Angular 4?</p>