Introduce $scope in slides, and improve some more.

squash! Introduce $scope in slides.