i am not able to navigate from one view to another view with pararameter

from :-

```
ViewModel : App/Foldername/page1.js
View : App/Foldername/page1.html

```

i want to go with id parameter:

```
ViewModel : App/Foldername/page2.js
    View : App/Foldername/page2.html

```

in **page1.js** i wrote following things,

```
self.goTopage2 = function (id) {
                            router.mapRoute('Foldername/page2/:id', 'viewmodels/Foldername/page2', 'This is page2view');
        };

```

in **shell.js**

```
 function boot() {
            router.mapNav('home');
            router.mapNav('details');
            router.mapNav('Foldername/page2');              
            log('Hot Towel SPA Loaded!', null, true);
            return router.activate('home');
        }

```

please guid me correct way!