I believe I've identified two minor bugs, for which I also include patches against the develop branch, in case you want to apply them.
When specifying alphaChannel as false, I would expect the Alpha slider to NOT appear on the sliders page of the dialog (as this means to NOT provide an alpha channel value, as I interpret the docs). However, the behavior in the dialog is the opposite. I.e., the condition under which to show the Alpha slider ought to be ng-if="mdColorAlphaChannel" in mdColorPickerContainer.tpl.html.
When supplying the "optional" values (i.e., those that translate into mdColorXxxx values) as an object on the scope (as passed as the value to the md-color-picker directive), those values aren't pcked up. This is how my options are applied to the scope:
To make this work properly, I had to slightly change the logic that picks up and applies those options, as shown in the enclosed patch for mdColorPicker.js.
Please let me know if you believe I've misunderstood how something is supposed to work. If not, I hope you can accept my patch.
I believe I've identified two minor bugs, for which I also include patches against the develop branch, in case you want to apply them.
provided to the color picker like this:
<div label="Text Color" md-color-picker="colorPickerOpts" ng-model="block.color" ></div>
To make this work properly, I had to slightly change the logic that picks up and applies those options, as shown in the enclosed patch for mdColorPicker.js.
Please let me know if you believe I've misunderstood how something is supposed to work. If not, I hope you can accept my patch.
-JM
mdColorPickerFixes.patch.zip