code: function prepareAppScriptsInfo(docDom) {
          // read index file, and getting target ts files.
          var appScripts = [];
          var $appScripts = $(docDom).find('script[type="lazy"]');
          var findAppJs = false;
  
          $appScripts.each(function () {
              var $scripts = getScriptElements($(this));
              $scripts.each(function () {
                  var src = $(this).attr('src');
                  if (src.match(/app.js$/i)) {
                      findAppJs = true;
                  }
                  appScripts.push(path.join(grunt.config.get('tmpdir'), src).replace(/\.js$/i, '.ts'));
              });
          });
  
          if (!findAppJs) {
              grunt.config.set('app_js_suffix', '-all');
          }
  
          // set app_scripts
          grunt.config.set('app_scripts', appScripts);
      }
docs: ! extract app scripts and reset app.js script tag.