use angularjs for deletion