I want to do the following:
i have a single program with 2 diffrent "layouts", one in localhost:3000 and one in localhost:3000/admin
In both i have diffrent css files rendered, both have diffrent template structure, but both! share the same js.
I want one ui-view to go to "home" page specifficaly to him, and the other one, for the sake of example, the admin one, to go do diffrent "home" page...
Something like this but unacomplished:
$stateProvider.
state('home', {
url: '/',
templateUrl: 'modules/core/views/home.client.view.html'
})
.state('home', {
url: '/admin/home',
templateUrl: 'modules/core/views/admin/home.admin.client.view.html'
});
Is it even possible? what is the best way to do this kind of thing...