How to change orientation of a single state/page?

I have a particular state in my app that will work with “landscape orientation” (it’s a full screen slider). The question is… How can I Change the orientation to landscape just for a single state?

1 Like

I have the same problem :confused:

Haven’t tried it myself, but this plugin claims to do what you want. Then listen to $scope.$on('$ionicView.enter', function(){}) for the state where you want to force the orientation, and put the code in that function handler.

I forgot to thank you. It worked!! :smiley:

1 Like

No problem, glad to hear that!