src/directives/imageEditor.directive.js
/**
         * Create propery sized array object for the histogram data and return it.
         *
         * @returns {Array}
         */
Create propery sized array object for the histogram data and return it.
@returns {Array}
Create propery sized array object for the histogram data and return it . @returns { Array }
function newHistogramArray() {
            var array = [];
            for (var i = 0; i < 255; i++) {
                array[i] = 0;
            }
            return array;
        }
function newHistogramArray ( ) { var array = [ ] ; for ( var i = 0 ; i < 255 ; i ++ ) { array [ i ] = 0 ; } return array ; }
Create propery sized array object for the histogram data and return it.
Create propery sized array object for the histogram data and return it .