title: Ionic storage is not setting value
body: <p>I keep getting undefined value when trying to set value with ionic storage.
  Though i do see the value in console on the first instance of console.log</p>
  
  <p>See output values in code:</p>
  
  <pre><code>GeneratePBKDF2(pbkdf2Password) {
  
    console.log("New password created: " + pbkdf2Password);
    // Output: New password created:PBKDF2$sha256$901$89G9D/PkC521fqOt$9gNgGt6rkhs5UeVlp2oJfI0l3CLpUgk6
  
    this.storage.set("TempPass", pbkdf2Password);
     // Error output: Uncaught TypeError: Cannot read property 'storage' of undefined
  
     console.log("Test Output" + pbkdf2Password);
     // Output: null
    }
  
  
  Start() {
    var password = PasswordGenerator.generate({length: 20,numbers: true});
    MosquittoPBKDF.createPasswordAsync(password, this.GeneratePBKDF2);
    }
  </code></pre>