Sha256: 6631bb5c8413927896c8d5536f23314820e3883f7e30ab77052aa771f49a45f2

Contents?: true

Size: 652 Bytes

Versions: 5

Compression:

Stored size: 652 Bytes

Contents

myModule.config(function($routeProvider) {


    //routing generate
    //routing generated over
});

/** Here is example
myModule.config(function($routeProvider) {
    $routeProvider.when("/", {
        templateUrl: "pages/activity_list_page.html",
        controller: ActivityListController
    }).when("/activity/create", {
            templateUrl: "pages/activity_create_page.html",
            controller: ActivityCreateController
        }).when("/sign_ups/list/:activity_name", {
            templateUrl: "pages/apply_page.html",
            controller: SignUpListController
        }).otherwise({
            redirectTo: "/"
        });
});
**/

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jt-mobile-kit-1.1.8 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.1.7 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.1.6 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.1.5 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.1.2 lib/jt-mobile-kit/www_rb/templates/js/routes.js