Check that fragment is defined in directive