pass aspectRatio to directive