Fix this bug when posting with angular