A policeman got injured in the militant attack at the Nawakadal area of Jammu and Kashmir's Srinagar.