Probing Nanostructure And Rheology Of Complex Fluids In Complex Flow Histories Using Small Angle Scattering