THIS was the blackest of Fridays for Rangers.

Beaten by the bottom team in the Premiership, and this was no fluke by Dundee, to make matters worse the winning goal was set-up by, off all people, by Scott Allan, meant a new low was found.

The Rangers AGM on Thursday was always potentially going to be stormy but if Dave King walks onto that stage less than 24 hours after a defeat at Ibrox to Aberdeen, and with no new manager in place, plus when you take into account this defeat on the back a dreadful home loss to Hamilton, then he’d better bring a tin hat.

This was bad for Graeme Murty who must be counting the days until being taken out of the firing line.

However, what a huge night for Neil McCann. His team looked to play football, scored twice, and while there is work to do, Dundee far from performed as a side which had struggled so much this season. They even leapfrogged Partick Thistle.

The home supporters went home deliriously happy. For those in the away section, they have long run out of patience with the shambolic manner their club go about everything. Can you blame them?

In saying that, Rangers started the game brightly. Just four minutes had gone when Daniel Candeias’s cross picked out Kenny Miller whose header from close range went straight into the body of Dundee keeper Elliot Parish.

Miller was provider four minutes later when he zipped the ball to Ryan Jack on the semi-circle, the midfielder’s first touch was superb and it set him up for a shot that took a deflection wide.

The resultant corner came from the training ground, it was played low towards the front post, and it didn’t work. However, Rangers had three more attempts at the supposedly rehearsed move with similar success, or lack thereof.

Dundee eventually got themselves into things and on the quarter hour when Faissal El Bakhtaoui, who when he wants can be, produced a fine dipping shot from distance, Wes Foderingham had to be lively to push the ball over the bar.

Things had rather livened up.

Rangers striker Alfredo Morelos, nine games without a goal, was no more than a few inches wide with a swerving drive. At the other, a whole 30 seconds later, Dundee’s Paul McGowan latched onto a defensive header from Ross McCrorie, but while the Dundee midfielder’s volley was struck well enough, it was right at Foderingham.

Both sides were playing some decent stuff, the problem being a worrying lack of quality with the final ball.

Jason Holt picked up a stupid/clever booking on the half hour when, after being robbed and put on his backside 30 yards from his own goal by Mark O’Hara, blatantly pulled the ball back with his hand. He should never have put himself in such peril, but the booking might just have saved a goal.

Rangers should have taken the lead on 34 minutes. Jack’s pass through the Dundee defence was excellent, as was the run of Candeias who only had to lift the ball over Parish when instead he rattled the Dundee keeper’s face with his shot. He ought to be scoring from such a chance.

There was an eventful last five minutes of the first-half.

Dundee got off with one on 40 minutes when Rangers put together their best move of the evening; Morelos slid a pass to Candeias whose cross from the right caused enough panic for Josh Meekings to stretch his leg in a desperate attempt at a block, only to send the ball off his own woodwork.

Two minutes later and James Tavernier hit the byline, his cross was just a touch too high for Morelos whose miserable time was completed by him landing on the post. He was clearly hurt and couldn’t make half-time, Eduardo Herrera his replacement.

While Morelos was on the ground, his team won a free-kick in a dangerous area. Candeias’s crossing again was good, Kenny Miller got to the ball in front of everyone but failed to direct his shot past Parish.

And while all that was going on, Dundee striker Marcus Haber had to come off, he seemed to have pulled a leg muscle, and Sofien Moussa got on.

Declan John’s ill-judged pass-back right after the break was almost as bad as the one of McCrorie which led to a Hamilton goal last Saturday, only this time Dundee were unable to take advantage despite Moussa getting to the ball before Foderingham who was well out of his goal.

Dundee’s McGowan was next to be carded. In real time it did look as if the midfielder’s foot was raised as he went in on McCrorie, trying to deal with a Holt hospital pass, and might even have given the Rangers defender a slight kick on the ground.

Television replays showed that, in fact, there wasn’t a lot wrong with McGowan’s challenge.

There was little dubiety about what happened on 66 minutes.

Dundee won a free-kick close to the right wing, Jon Aurtenetxe’s delivery was excellent, Rangers defending was anything but, the ball hit off Danny Wilson and the alert O’Hara directed his shot into the corner of the net.

But the home side’s lead was to last only four minutes. McCrorie’s cross was headed out by Meekings but only to Windass on the edge of the box who took a touch before powering the ball past Parish.

Allan was sent on with 12 minutes to go. This provoked some predicable jeers of the Rangers of the fans. If anything, the Ranger supporter who remains a Celtic player relished the reaction.

His touch and turn on the edge of the box was excellent, the pass inside to O’Hara exquisite and the resultant finish gave Foderingham no chance.

And that was the game.

Dundee: Parish; Kerr, Hendry, Meekings, Aurtenetxe; O’Hara, Kamara, McGowan, El Bakhtaoui, Deacon (Allan 78), Haber (Moussa 43)

Substitutes not used: Ferrie, Holt, Leith-Smith, Etxabeguren, Curran

Rangers: Foderingham; Tavernier, Wilson, McCrorie, John; Holt, Jack, Candeias (Hardie 83), Windass, Morales (Herrera 45), Miller

Substitutes not used: Alnwick, Hodson, Bates, Barjonas, Pena

Referee: Kevin Clancy