A minimalistic representation model for head direction system