Tree like structure in Angular

I want to implement a tree like structure in an angular 4 project, similar to the one that is at the offiical docs of angular : https://angular.io/docs.