title: Plugin not enabled Error
body: <p>I am new to <code>ionic-framework</code>, trying to implement shared prefrences in ionic platform for which <a href="http://ngcordova.com/docs/plugins/preferences/" rel="nofollow noreferrer">cordovaPreferences</a> is the plugin:</p>
  
  <ul>
  <li>I downloaded plugin with cordova plugin add cordova-plugin-app-preferences</li>
  <li>installed <a href="http://ngcordova.com/docs/install/" rel="nofollow noreferrer">ngCordova</a></li>
  <li>added ng-cordova.js in index.html before cordova.js</li>
  <li>added ngCordova' in my starter module</li>
  <li>injected $cordovaPreferences in controller</li>
  </ul>
  
  <p>Then I am using:</p>
  
  <pre><code>$cordovaPreferences.store('key', 'myMagicValue')
    .success(function(value) {
       alert("Success: " + value);
     })
    .error(function(error) {
       alert("Error: " + error);
     })
  </code></pre>
  
  <p>But an alert is generated saying "Plugin not enabled":</p>
  
  <p><a href="https://i.stack.imgur.com/cNQPV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cNQPV.png" alt="Screen shot of error"></a></p>
  
  <p>Please Help.</p>