www/app/components/user/controllers/userProfileController.js
/**
         * @desc Display an toastr.success message passed from parameter.
         *       This function is generally used to callback.
         * @function _displaySuccessMessage
         * @param {string} successMessage Success message to display
         * @memberOf Controllers.UserProfileController
         */
@desc Display an toastr.success message passed from parameter.
This function is generally used to callback.
@function _displaySuccessMessage
@param {string} successMessage Success message to display
@memberOf Controllers.UserProfileController
@desc Display an toastr . success message passed from parameter . This function is generally used to callback . @function _displaySuccessMessage @param { string } successMessage Success message to display @memberOf Controllers . UserProfileController
function _displaySuccessMessage(successMessage) {
            if (neogenz.utilities.isUndefinedOrNull(successMessage)) {
                throw new Error('successMessage to display in null or undefined.');
            }
            toastr.success(successMessage);
        }
function _displaySuccessMessage ( successMessage ) { if ( neogenz . utilities . isUndefinedOrNull ( successMessage ) ) { throw new Error ( 'successMessage to display in null or undefined.' ) ; } toastr . success ( successMessage ) ; }
@desc Display an toastr.success message passed from parameter.
@desc Display an toastr . success message passed from parameter .