When using a Content Security Policy (CSP, docs at MDN) without unsafe-inline for style-src the color picker does not work. This is because of the various ng-attr-style properties in the template.
The solution to this issue would be to remove the ng-attr-style attributes from the template and apply the styling using JS in the link function using .css(properties).
If you want I can try to make a PR to resolve this issue.
When using a Content Security Policy (CSP, docs at MDN) without
unsafe-inline
forstyle-src
the color picker does not work. This is because of the variousng-attr-style
properties in the template.The solution to this issue would be to remove the
ng-attr-style
attributes from the template and apply the styling using JS in thelink
function using .css(properties).If you want I can try to make a PR to resolve this issue.