We use the future simple (with the auxiliary will) to express opinions, spontaneous decisions and hopes.
We use to be going to structure to express intentions for the future and make previsions which are almost sure to happen.
External link to: Predictions with Will and To Be going to Topic.