title: Change Boolean values to button in angular 2 client side
body: <h2>Details</h2>
  <p>I am trying to get data from api and show into the table. One of the columns contains status attribute which return true or false value but I want to show Active or Block buttons instead of this status, ie. if status is true then show delete button and if status==false show active button. How can I able to achieve this in angular 2.</p>
  <h2>Image</h2>
  <p><a href="https://i.stack.imgur.com/cgS5y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cgS5y.png" alt="Image describing my problem" /></a></p>