title: Restrict portrait orientation for Ionic App
body: <p>I am using Ionic, cordova to make an app. I am trying to restrict the orientation of the view to portrait only, I am doing the following in the config.xml file, but it is still not working any ideas?</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;widget id="com.ionicframework.ionicucas805049" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
    &lt;name&gt;ionicUcas&lt;/name&gt;
    &lt;description&gt;
          An Ionic Framework and Cordova project.
      &lt;/description&gt;
    &lt;author email="hi@ionicframework" href="http://ionicframework.com/"&gt;
        Ionic Framework Team
      &lt;/author&gt;
    &lt;content src="index.html"/&gt;
    &lt;access origin="*"/&gt;
    &lt;preference name="webviewbounce" value="false"/&gt;
    &lt;preference name="UIWebViewBounce" value="false"/&gt;
    &lt;preference name="DisallowOverscroll" value="true"/&gt;
    &lt;preference name="BackupWebStorage" value="none"/&gt;
    &lt;preference name="Orienation" value="portrait" /&gt;
    &lt;feature name="StatusBar"&gt;
      &lt;param name="ios-package" value="CDVStatusBar" onload="true"/&gt;
    &lt;/feature&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>I have added <code>&lt;preference name="Orienation" value="portrait" /&gt;</code>
  But no Joy....</p>