Converted MCA module to directive