Who is favourite to be named the next manager of Rangers? (Odds provided by Paddy Power)

Rangers might have started the game smartly, but the longer the first half wore on Dundee came more into things.

Wes Foderingham was forced to make a smart save from Faissal El Bakhtaoui and then Paul McGowan rifled in an effort which raised Dundee’s spirits.

In general, though, the standard of play was poor from both teams. Time and again passes were overhit.

Cammy Kerr twice managed to dart down the wing and then lash the ball wildly over Foderingham’s bar.

Alfredo Morelos – given another chance by boss Murty after nine games without a goal – looked very much like a player shorn of confidence as he tried to tee up team-mates rather than have a crack at goal when the opportunity arose.

Rangers did have a chance to take the lead in 34 minutes when Ryan Jack’s ball cut the Dundee defence to shreds.

Credit, though, to keeper Elliot Parish for the save from Daniel Candeias even if he made the block with his face.

Candeias’ movement for the chance was excellent, but as so often happened in the first half, fine play was followed by slackness.

From the corner and for the second time in the match the Portuguese scuffed the set-piece and couldn’t get the ball beyond the front post, allowing Dundee to clear.

Josh Meekings could count himself lucky when he sliced an attempted clearance over his keeper, but the ball hit the bar and no attackers were on hand to take advantage.

Rangers fans behind Parish’s goal got excited as Windass whipped in a cross for Morelos. But the ball had too much pace on it and the Colombian gave himself a sore one by throwing himself at the ball and then clattering into the upright.

Kenny Miller then slid on to a James Tavernier free-kick but couldn’t steer the ball past Parish.

Related videos

Neil McCann was forced to make a change with crocked striker Marcus Haber replaced by Sofien Moussa.

Morelos too hirpled off before the break still suffering from his collision with the woodwork and on came Eduardo Herrera.

Declan John almost sold the jerseys for Rangers at the start of the second half with a woefully short pass-back, but Moussa was driven wide by Foderingham, slipped and the chance was gone. Tempers flared again in 57 minutes. Rangers were incensed by McGowan’s clash with Ross McCrorie, with the young defender already in pain on the deck.

McCrorie was able to continue after treatment, but he was moving gingerly.

There was agony of a different kind for Rangers to endure in 66 minutes in the shape of a Dundee goal.

Jon Aurtenetxe flighted over an inswinging cross from the right and when the ball broke in the box, O’Hara was on hand to slam his shot past Foderingham from six yards with the Gers defence at sixes and sevens.

Now Rangers had to show some mettle – and unlike against Accies six days earlier they hit back.

McCrorie brushed off Moussa and fired in a cross which was laid back for Windass – and his shot flew past a stunned Parish from 20 yards.

Now it was down to who was brave enough to push on for a winner.

Allan was jeered on to the park by Rangers fans. But the on-loan Celtic midfielder answered the boo-boys by teeing up O’Hara for the 80th-minute winner.