What is the relation with URL and templateUrl ?
chandraflyrobe opened this issue · comments
What is the relation with URL and templateUrl ? when i using state like below - always i am getting "localhost:3000/women/app/components/product/product.html" is not found (404) ... because, templateUrl is modifying .. 'app/components/product/product.html', to
"/women/app/components/product/product.html".
.state('root', {
url: '/',
templateUrl: 'app/main/main.html',
controller: 'MainController',
controllerAs: 'main'
})
.state('women-clothing', {
url: '/women/men-clothing',
templateUrl: 'app/components/men-clothing/women-clothing.html',
controller: 'MenClothingController',
controllerAs: 'womenVm'
})