Canada's Finance Minister Chrystia Freeland says she resigned from his position after differences with Prime Minister Justin Trudeau.