"In" is a "Wechselpräposition" that can have either dative or accusative case. As Alla said already, dative is used to refer to a location (wo?), while accusative is used for a direction (wohin?). Therefore it's "ich gehe IN DEN Park", but "ich spiele IM Park". The "mit Angela" has nothing to do with it.