www/app/components/user/controllers/userProfileController.js
/**
         * @desc Open modal view with the form
         * @function _changePassword
         * @param {bool} formIsValid Passed from view, is a valid form angular boolean
         * @memberOf Controllers.UserProfileController
         */
@desc Open modal view with the form
@function _changePassword
@param {bool} formIsValid Passed from view, is a valid form angular boolean
@memberOf Controllers.UserProfileController
@desc Open modal view with the form @function _changePassword @param { bool } formIsValid Passed from view is a valid form angular boolean @memberOf Controllers . UserProfileController
function _changePassword() {
            var confirmActionModalOpts = {
                templateUrl: 'views/partials/user.profil.changePassword', 
                controller: 'userProfileChangePasswordController'
            };
            var modalInstance = $modal.open(confirmActionModalOpts);
            modalInstance.result.then(function () {
                _displaySuccessMessage('Changement de mot de passe effectué avec succès.');
            }, function (result) {
                if (result.canceled) {
                    toastr.warning('Changement de mot de passe annulé.');
                    neogenz.utilities.log.logDebug(
                        'userProfileController.js',
                        '_changePassword()',
                        'Changement de mot de passe échoué : ' + result.message);
                } else {
                    toastr.error('Changement de mot de passe échoué.');
                    neogenz.utilities.log.logError('userProfileController.js',
                        '_changePassword()',
                        'Changement de mot de passe échoué : ' + result.message);
                }
            });
        }
function _changePassword ( ) { var confirmActionModalOpts = { templateUrl : 'views/partials/user.profil.changePassword' , controller : 'userProfileChangePasswordController' } ; var modalInstance = $modal . open ( confirmActionModalOpts ) ; modalInstance . result . then ( function ( ) { _displaySuccessMessage ( 'Changement de mot de passe effectué avec succès.'); } , function ( result ) { if ( result . canceled ) { toastr . warning ( 'Changement de mot de passe annulé.') ; neogenz . utilities . log . logDebug ( 'userProfileController.js' , '_changePassword()' , 'Changement de mot de passe échoué : ' + r sult.m e ssage); } else { toastr . error ( 'Changement de mot de passe échoué.'); neogenz . utilities . log . logError ( 'userProfileController.js' , '_changePassword()' , 'Changement de mot de passe échoué : ' + r sult.m e ssage); } } ) ; }
@desc Open modal view with the form
 @function _changePassword
 @param {bool} formIsValid Passed from view, is a valid form angular boolean
 @memberOf Controllers.UserProfileController
@desc Open modal view with the form @function _changePassword @param { bool } formIsValid Passed from view is a valid form angular boolean @memberOf Controllers . UserProfileController
// Url du template HTML /*resolve: {
                 confirmationMessage: function () {
                 return $scope.confirmationMessage;
                 }
                 }*/