Minor fixes to the controller and live directives.