A Los Angeles judge has officially approved Angelina Jolie's temporary custody agreement with her estranged husband Brad Pitt.