refactor invoice with angular-seed