var idTrnf = charIDToTypeID( "Trnf" );
var desc57 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref39 = new ActionReference();
var idLyr = charIDToTypeID( "Lyr " );
var idOrdn = charIDToTypeID( "Ordn" );
var idTrgt = charIDToTypeID( "Trgt" );
ref39.putEnumerated( idLyr, idOrdn, idTrgt );
desc57.putReference( idnull, ref39 );
var idLstT = charIDToTypeID( "LstT" );
desc57.putBoolean( idLstT, true );
var lastTransformation = executeAction( idTrnf, desc57, DialogModes.NO );
but here i want angle?