我对 AngularJS + Kendo UI Mobile 很陌生。
我什至不确定它是否应该被称为 Angular Kendo。
然而,在阅读各种资料时,我遇到了关于使用 AngularJS 和 Kendo UI Mobile 的应用程序的路由机制的相互矛盾的陈述。
http://docs.telerik.com/kendo-ui/AngularJS/introduction说:
If you are using AngularJS then you probably want to use Angular's own routing mechanism and data binding. Do not mix that with Kendo MVVM.
然而这里的这个例子http://docs.telerik.com/kendo-ui/mobile/angular/angular提到:
The mobile application instantiates and maintains its own routing mechanism based on the router component, which automatically matches and instantiates views when navigating. Unlike the ng-route/ng-view and the ui-router implementations, the mobile application does not unload the previous view when navigating to the new one.
所以我该怎么做?哪种方式最受青睐,为什么?