Write uiLayoutCtrl as a constructor

In Angular 1.3.0 final the controller is used as a constructor. The returned value is ignored, and angular-ui-layout does not work.