Linking accounts in AngularFire2
<p>I'm handling both anonymous and Google accounts using AngularFire2. If a user logs in using a Google account, I'd like to convert their anonymous account to their permanent (Google) account, so they can keep using the app seamlessly.</p>

<p>It seems easy enough using the Firebase API, but I'm not seeing the ability to do this in AngularFire2.</p>

<p>For Firebase, you get the AuthCredential for the new auth provider and then use the link method to convert the account:</p>

<pre><code>var credential = firebase.auth.GoogleAuthProvider.credential(
  googleUser.getAuthResponse().id_token);

auth.currentUser.link(credential).then(function(user) {
  console.log("Anonymous account successfully upgraded", user);
}, function(error) {
  console.log("Error upgrading anonymous account", error);
});
</code></pre>

<p>Is this possible in AngularFire2?</p>