Militants attack army