Actress Angelina Jolie has had her ovaries and fallopian tubes removed as a preventative measure against cancer.