title: Handling Angular errors on button click
body: <p>I have an angular table in the front end with a delete button in it that onClick will delete the row, connected to ColdFusion backend.</p>
  
  <p>If in a scenario the table page loads as usual, but right before the user clicks the delete button, the api goes down</p>
  
  <p>How can I throw an error so it doesn't continue then on to the next page?</p>