import * as angular from "angular";
<% if (!moduleOnly) { %>import { <%= pName %>Config } from "./<%= hName %>.config";
import { <%= pName %>Controller } from "./<%= hName %>.controller";

<% } %>export const <%= name %> = angular
    .module("<%= appName %>.<%= name %>", ["ui.router"])<% if (!moduleOnly) { %>
    .controller("<%= pName %>", <%= pName %>Controller)
    .config(<%= pName %>Config)<% } %>
    .name;

import * as angular from "angular";
<% if (!moduleOnly) { %>import { <%= pName %>Config } from "./<%= hName %>.config";
import { <%= pName %>Controller } from "./<%= hName %>.controller";

<% } %>export const <%= name %> = angular
    .module("<%= appName %>.<%= name %>", ["ui.router"])<% if (!moduleOnly) { %>
    .controller("<%= pName %>Controller", <%= pName %>Controller)
    .config(<%= pName %>Config)<% } %>
    .name;

Fix an error with the used controller
Fix an error with the used controller
