There are two conflicting narratives on the subject.
On the one hand, Marvel Studios President Kevin Feige told io9 that it was just meant to be a list of generic powers:
"When that was shot, that was before the whole [Spider-Man] thing had happened," explained Marvel Studios president Kevin Feige. "It really was just her listing relatively generic powers leading into Falcon saying, 'I'm looking for someone who shrinks.'
However, in an interview with Comicbook.com, posted on YouTube a few days earlier, Ant-Man director Peyton Reed said that the whole line was a deliberate nod to Spider-man:
We had lots of conversations about "are we going to deal with [the Spider-man announcement] in our movie?", "should we deal with it in our movie and, if so, how?" And we liked the idea of just dropping a little, tiny reference towards the end of the movie.
These interviews were posted within days of each other (the io9 article was published on July 20, the Comicbook.com on July 16), so it's not entirely clear which to believe.
Personally I'm not sure I buy Feige's story, since neither "swinging" or "crawling up walls" are particularly generic superhero powers. But that's only a casual fan's opinion; maybe a Marvel super-executive has a different perspective on the industry. Or maybe he's lying.
In fairness it's not impossible that both stories are true, and that the line was overdubbed later; the line could easily have been redubbed after the official announcement, or changed in the script before the shot was filmed1
1 The Spider-man announcement was made in February 2015; as of April 2015, there was still filming happening on Ant-Man