code: function MODULENAME_DivHTML( divId, resourceURL, paramObj ) {
  	log( "MODULENAME",  "divId="+divId+" resourceURL="+resourceURL );
  	if ( moduleConfig[ divId ] != null ) {
  		MODULENAME_RenderHTML( divId, resourceURL, paramObj, moduleConfig[ divId ]  );
  	} else {
  
  		//TODO: move that to portal-ng.js
  		var metaURL =  resourceURL+"/MODULENAME";
      if ( paramObj != null ) {
        if ( paramObj.def != null ) {
          metaURL = resourceURL+"/"+paramObj.def;
        }
  		}
  		// pass get params of page to module config loader call, to enable dynamic table columns
  		if ( paramObj.get != null ) {
  			var first = true;
  			for (var key in paramObj.get) {
  				metaURL += (first ? "?" :"&");
  				metaURL += key + "=" + paramObj.get[ key ];
  				first = false;
  			}
  		}
  
  		$.getJSON( 
  			resourceURL+"/MODULENAME", 
  			function( pmd ) {
  				MODULENAME_RenderHTML( divId, resourceURL, paramObj, pmd );
  			}
  		);					
  	}	
  }
docs: print this on console, when module is loaded ======= Code for "loadResourcesHtml" hook ================================================