Alignment dynamics of diffusive scalar gradient in a two-dimensional model flow