A question recently came up regarding whether a founder can re-pay themselves for some of their initial investments in their business once an outside investment is achieved.
In general, this is not a good idea, nor is it a good idea even to ask for repayment. In most cases, investors want to see a level of dedication and belief by the founders in the business. The founder is expected to make reasonable sacrifices to make the business work. This demonstrates some degree of "risk sharing" which appeals to an outsider putting his money into the idea. Due diligence can only go so far, so investors look for other signals regarding the quality of the idea and how strongly the founding team believes in their own chances.
If a founder wants to be immediately repaid for past loans, quickly draws an exorbitant salary, or wants cash bonuses in the short-term, it is a red flag that will turn off investors. The founder should want to retain as much of the business as possible rather than "selling" that extra amount (the amount of the desired repayment) of equity to outsiders.
In fact, it is a big positive when it is stressed in business plans that founders have their own money at risk in the venture. It is probably the most important and best way to demonstrate managerial "credentials" and commitment to the enterprise.