Uganda missed a number of opportunities to take the lead in the first half and Sredojevic pointed to Egypt's Serie A winger Mohamed Salah - who set up the decisive goal - as a factor that gave them the edge.
Ghana defeated Mali by lone courtesy Asamoah Gyans header, from Jordan Ayew's cross in the 20th minute.
"So I think I'm lucky to have come this far, but I need a little bit more luck, but on the football side we did a very good job in all these tournaments".
"We are satisfied about our performance".
It was Egypt's first win of the 2017 AFCON after they drew 0-0 against Mali on their opening game.
Kawowo Sports | AMINAH BABIRYEAction between Ghana and Mali
Mali pinned back Ghana in their own half as they went in search of an equaliser and Hamari Traore nearly made it 1-1 with what would have been a contender for goal of the tournament, the left-back hammering a volley narrowly over the top-left corner from 25 yards. "They will be ready to lift their heads for the last match".
The final whistle was greeted by wild cheers by the Black Stars fans in the stands as the side now goes on 6 points with a game against Egypt to spare.
Gyan and his team-mates celebrated his goal with a choreographed dance routine and the striker then held up a t-shirt which carried on it a get well message for Baba Rahman, who is out of the tournament because of injury.
Despite that, they could not find an equalising goal, with Moussa Marega heading straight at Razak Brimah from a Bakary Sako cross and defender Salif Coulibaly hooking a shot just wide after Ghana had struggled to clear their lines.
When talented winger Kahraba replaced Mahmoud Trezeguet in the last 10 minutes, Egypt looked more unsafe going forward and he orchestrated the decisive move one minute from time.
Dutch firm's ships recalled as MH370 search comes up short
Tony Abbott, Australia's prime minister at the time of the disappearance, called it "as close to nowhere as it's possible to be". On July 29 a year ago , a piece of aircraft debris was found washed ashore on the French island, east of Madagascar.