Lock orientation for a single page in ionic2/Angular2 with TypeScript


Hi All,

How do I lock the orientation of a single page to always show in Portrait mode for all platforms in Ionic2/Angular2 app?



You could use the screen orientation plugin in ionic native


This works for me. Thanks