Fixed blank menu dropdown by using ngif