View is opening as page and not as partial on home page

0

Inside the Home page I have the tag. But my partial does not open inside the home but rather as another page.

var app = angular.module("app", ['ui.router', 'angularUtils.directives.dirPagination']);

app.config([$locationProvider, function ($stateProvider, $urlRouterProvider) {

    $urlRouterProvider.when("", "/");

    $stateProvider
    .state("Empresas", 
            {url: "/Empresas",  
            templateUrl: $("#linkBase").attr("href") + 'templates/Empresa/empresas.html', 
                 controller: 'EmpresaController' })
    .state("Usuarios", 
            { /Usuarios, templateUrl: $("#linkBase").attr("href") + 'templates/Usuario/usuarios.html', 
                controller: 'UsuarioController' })

}]);
    
asked by anonymous 29.03.2018 / 17:05

0 answers