working button to edit items using angular and ng-repeat
added angular button for bought