General approach for the determination of the magneto-angular dependence of the critical current of YBCO coated conductors. (15th December 2016)