Search code examples
htmlangularjsangularjs-materialresponsiveness

AngularJs resposiveness on mobile device


I have created an HTML page using material angularjs which works fine on desktop with different sizes on browser..

But, whenever the same page is opened on mobile device it behaves like desktop application. It does not shows its responsiveness with mobile device size.

Please help me out to resolve this problem.


Solution

  • Include this line of code in your code

    <meta name="viewport" content="width=device-width, initial-scale=1" />