私はAngularJSを学び、小さなアプリケーションを構築しました。機能が完成したので、jQueryMobileを使用してスタイルを設定したいと思います。
tigbroのjquery-mobile-angular-adapterをドロップしましたが、(既知の)結果として、以前のルートはどれも機能していません。
ここに概説されている解決策がありますが、残念ながら、それをルーティングに適用する方法がまだわかりません。jqmCompatModeをfalseに設定するmodule.config行はどこに行きますか?
私のルートは現在次のようになっています。
angular.module('myApp', []).
config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/finds', {templateUrl: 'views/finds-list.html', controller: FindListCtrl}).
when('/add_find', {templateUrl: 'views/add-find.html', controller: AddFindCtrl}).
when('/add_find/success', {templateUrl: 'views/add-find-success.html', controller: AddFindSuccessCtrl}).
when('/find/:findId', {templateUrl: 'views/specific-find.html', controller: SpecificFindCtrl}).
when('/find/edit/success', {templateUrl: 'views/edit-find-success.html', controller: EditFindSuccessCtrl}).
when('/find/edit/:findId', {templateUrl: 'views/edit-find.html', controller: EditFindCtrl}).
when('/find/delete/:findId', {templateUrl: 'views/delete-find.html', controller: DeleteFindCtrl}).
otherwise({redirectTo: '/finds'});
}]);
どうもありがとう!