Made first steps towards use of AngularJS to update looper widget.