An accurate prediction of ionospheric total electron content (TEC) at the primary stage is essential for applications related to global navigation satellite systems (GNSS) under varying weather conditions. The previous TEC prediction schemes contribute for each time step that increases the prediction time. The eye contact phenomenon establishes a metaphorical connection which intends to capture and emphasize the attention worthy elements in a sequence. This research introduces a deep learning approach which is a combination of attention-based bidirectional long short-term memory and gated recurrent unit (Bi-LSTM GRU) to predict TEC in the ionosphere. Bidirectional LSTM is the better option for achieving durability when combined with a gated recurrent unit (GRU) to predict TEC in the ionosphere. The proposed approach is evaluated with the existing LSTM approach for root mean square error (RMSE) during training and validation. The RMSE while predicting the global ionospheric delay using the existing LSTM for 20 epochs is seen to be 0.004, whereas the existing approach achieves a training error of 0.003.