import { Inject } from "./decorators/decorators";

@Inject("$stateProvider", "$urlRouterProvider")
export class <%= pAppName %>Config {
    constructor(stateProvider: ng.ui.IStateProvider, urlRouterProvider: ng.ui.IUrlRouterProvider) {
        stateProvider
            .state("<%= appName %>", {
                abstract: true,
                templateUrl: "<%= hAppName %>.tpl.html"
            });

        urlRouterProvider.otherwise("/");
    }
}
import { Inject } from "./decorators/decorators";

@Inject("$stateProvider", "$urlRouterProvider")
export class <%= pAppName %>Config {
    constructor(stateProvider: ng.ui.IStateProvider, urlRouterProvider: ng.ui.IUrlRouterProvider) {
        stateProvider
            .state("<%= appName %>", {
                url: "/",
                templateUrl: "<%= hAppName %>.tpl.html"
            });

        urlRouterProvider.otherwise("/");
    }
}
--- 
+++ 
@@ -5,7 +5,7 @@
     constructor(stateProvider: ng.ui.IStateProvider, urlRouterProvider: ng.ui.IUrlRouterProvider) {
         stateProvider
             .state("<%= appName %>", {
-                url: "/",
+                abstract: true,
                 templateUrl: "<%= hAppName %>.tpl.html"
             });
 
Replace url for an abstract view
