Real Sociedad's perfect winning start to the season in La Liga came to an end, with Gareth Bale scoring a stunner to secure three points for the Real Madrid.