title: Unable to check checkbox after angular response
body: <p>I'm making a todo app using MEAN stack. Till now I have completed with displaying the todo list and deletion of todo on click of checkbox. Now I'm trying to enhance my code by doing logical deletion. I'm using a flag in database which will toggle on the click of checkbox. </p>
  
  <p>But the problem I'm facing is, the checkbox is not remaining checked. Like I click on the checkbox, then a strike-through appears. Between this, the event goes to the database change the flag and comes back. But till that time, the checked thing is gone.</p>