update ch2 for AngularDart 1.x