# Pastebin tzZlo0kt var deferred = this.$q.defer(); if (this.currentUserModel) { return this.$q.when(this.currentUserModel); }