make card new a directive