Open siddhion opened 9 years ago
Sorry for late response.
The answer is YES.
You just need to specify templateUrl
accordingly like this:
app.config(['$stateProvider', function ($stateProvider) {
$stateProvider
.state('mainpage', {
url: '/',
templateUrl: '/templates/{mobile}{desktop}/index.html', // here is the main part
controller: 'MainPageCtrl'
});
}]);
ok thanks :)
I am interested in using this with ui-router. Is it compatible out of the box?