created a confirmation dialogue that pops out before deleting a tag.

Although confirm-delete.js should have done the task of popping out a confirmation dialogue box, since the <tr> tag with the attribute 'ng-repeat' makes jQuery to act on angularjs's product (elements inside <td>), it won't work[1].

We can also use ng-click to do the same.

[1] = https://docs.angularjs.org/misc/faq (under 'DOM Manipulation')