code: function updateCustomColor() {
                      switch (scope.val) {
                          case scope.ngTrueVal:
                              if (angular.isDefined(attrs.ngTrueColor)) {
                                  scope.styleSwitch['background-color'] = attrs.ngTrueColor;
                              }
                              break;
                          case scope.ngFalseVal:
                              if (angular.isDefined(attrs.ngFalseColor)) {
                                  scope.styleSwitch['background-color'] = attrs.ngFalseColor;
                              }
                              break;
                          default:
                              if (scope.triToggle) {
                                  if (angular.isDefined(attrs.ngNullColor)) {
                                      scope.styleSwitch['background-color'] = attrs.ngNullColor;
                                  }
                              }
                              break;
                      }
                  }
docs: /* Custom CSS Color Overrides