Assess the AngularJS code integrated into PAT and plan on how to implement the logic that if the user is admin or the current user is the owner of the specific project, he/she can be able to edit and delete it.