Hi.
Please oh please help me get ngDoc to properly display my service methods
strTest()
/**
* @ngdoc service
* @name aaa1
* @requires $translate
*
*
* @description
* my bla
*/
angular.module ( 'aaa1', [] )
.factory (
'aaa1',
function () {
//-------------------------------
// public functions start
//-------------------------------
/**
* @ngdoc object
* @name myobj
*
* @description
* obj obj
*/
var service = {
/**
* @ngdoc property
* @name myProp
*
* @description
* my prop prop prop
*/
myProp : null,
//aaa
/**
* @ngdoc function
* @name strTest
*
* @description
* test: echo back the string
*
* @param {string} strTest - string to be echoed out
* @returns {string} string echoed out with suffix ': out'
*/
strTest :
function ( strTest ) {
console.logIn ( globalGeRb.DebugConsoleControl.boolEnableAngularJs );
var strRetCode = strTest + ': out';
console.logIn ( globalGeRb.DebugConsoleControl.boolEnableAngularJs,
strRetCode );
return ( strRetCode );
}
}
return ( service );
}
); // factory
<https://lh4.googleusercontent.com/-4Eb5m92h5IM/UxfChNDgByI/AAAAAAAAAO4/wW1eOaWml_Y/s1600/IMG0020.jpg>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.