code: function WorkorderDetailController($state, WORKORDER_CONFIG, workorderStatusService) {
    var self = this;
  
    self.adminMode = WORKORDER_CONFIG.adminMode;
  
    self.getColorIcon = function(status) {
      return workorderStatusService.getStatusIconColor(status).statusColor;
    };
  }
docs: Controller for displaying workorder details to the user.
  @param WORKORDER_CONFIG
  @constructor