I have a few questions:
1. With Kendo UI and its routing features, can they be broken into separate .html pages, so not to have all code in one index.html? Or does it all have to be on one .html page with templates, routing, controllers, etc.? I wanted to keep the index.html separate and easy to read and keep all other pages in a "views" folder.
2. Is it better to use Angular routing with Kendo UI features or does it not work correctly?
I see with Angular, you can use a placeholder:
<
div
ng-view>
</
div
>
gcdApp.config([
'$routeProvider'
,
function
($routeProvider) {
$routeProvider.
when(
'/login'
, {
templateUrl :
'views/login.html'
,
controller :
'LoginController'
}).
when(
'/loginSuccess'
, {
templateUrl :
'views/sushi.html'
,
controller :
'LoginSuccessController'
}).
otherwise({
redirectTo :
'/login'
,
});
;
} ]);
If there are any demos/tutorials that show exactly what I am looking for, please let me know. Or if you can provide code that spells all this out, I would really appreciate this. I am new to the Kendo UI SPA/Routing coding/processes and I can understand Angular a little better.
Thanks!
Dan