angular.copy doesn't work with webgl layer