Missed to apply ng-style in controller.js for setleavetypeController.