Adds application_id and cookie session to angular wrapper.