function htmlTags(type,pack) {
    var dests;

    // jshint validthis:true
    if (type === 'start') {
      return ['<script>' + this.module('start').map(function(value) { return value.content; }).join('\n') + '</script>'];
    }

    if (pack) {
      dests = { urls: {} };
      // jshint validthis:true
      dests.urls[type] = resolveAssetLink(this.client, type);
      return [ htmlTag[type](dests) ];
    } else {
      // jshint validthis:true
      var entries = this.entries(type);
      dests = this.dests;
      return entries.map(function(entry) {
        return htmlTag[type](dests,entry);
      });
    }
  }
@ngdoc method
@name bundler.default:default#htmlTags
@methodOf bundler.default:default
@function
@description
Function called by view.js to build the view HTML


@param {String} type Either start/js/css
@param {Boolean} pack Pack with resolveAssetLink ?
@returns {[String]} List of script tag strings