Angular variation of absorption and thermal emission enhancement from the two dimensional photonic crystals