Angular code with responsive template