user.signUp().then(function(result){ notif.hideLoading(); _this.clearForm(); _this.transitionToRoute('first'); notif.success('Signed up succesfully'); },function(reason){
note.destroyRecord().then(function(){ notif.hideLoading(); _this.transitionToRoute('first'); notif.success('Note deleted'); });