When training solo and indeed especially with a training partner, it is IMPERATIVE that you use angles as often as possible.
Moving straight in and straight out all the time is a recipe for disaster.
In self defense it is even MORE IMPORTANT to use angles to ensure your safety as much as possible.
This clip explains much of what you should be doing on the heavy bag.