// home.js

"use strict";

import { welcome } from "../welcome/welcome";

if (NODE_ENV == DEV_ENV) {
  welcome("home");
  console.log(NODE_ENV);
}

require.ensure(["../loadVendors/loadVendors"], (require) => {
  let vendors = require("../loadVendors/loadVendors");

  vendors.loadVendors();
});

export { welcome };

// home.js

"use strict";

import { welcome } from "../welcome/welcome";
import angular from "angular";

if (NODE_ENV == DEV_ENV) {
  welcome("home");
  console.log(NODE_ENV);
}

require.ensure(["../loadVendors/loadVendors"], (require) => {
  let vendors = require("../loadVendors/loadVendors");

  vendors.loadVendors();
});

export { welcome };

Add import angular from "angular";
Add import angular from "angular";
