My fxdc had the same problem with the front end. Or so I thought! I could have sworn the banging I was hearing was from the front end and of course the dealer did not feel anything on the test drive. One day I was feeling it again but had a thought......I reached back and grabbed the sissy bar and pulled tight on it.......banging was gone. Turns out my detachable luggage rack / sissy bar nuts had loosened up! Quick fix! Point is rattles and vibrations travel through the frame quite a bit.....The sound seemed like it was coming from in front of me but was really behind me.
Also with anything coming from the front end you may want to check the neck bearing......the old fall away test. My neck bearing loosened up with 1k on the bike and the dealer did the fall away test and in 45 minutes I was out the door and it was good to go. The symptom I was getting on the loose neck bearing was a clunk or bang when applying the front break. Don't know if that is what you are getting from yours but you may want to look at that!