AMD interview question

Build some nested list in Angular JS 2