refactoring, remove dead code
refactoring, extract invoice modal in a directive, use invoice modal to display invoice in activity page