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("/");
    }
}
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("/");
    }
}
Replace url for an abstract view
Replace url for an abstract view
