text: (function () {
      "use strict";
  
      angular.module("productManagement")
          .controller("productDetailCtrl", ["product", productDetailCtrl]);
  
      function productDetailCtrl(product) {
          /*jshint -W040*/
          var vm = this;
  
          vm.product = product;
          vm.title = "Product Detail: " +vm.product.productName;
  
          if( vm.product.tags) {
              vm.product.tagList = vm.product.tags.toString();
          }
      }
  
  }());