Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am changing my routing hash route to Pushstate Route. All route working except Parameter routing
Call like : href="/profile-page/2"
When am calling ("/profile-page/:Id") kind of routing the error expected expression, got '<' comes in loop.

JavaScript
{
               url: '/dashboard',
               config: {
                   title: 'Dashboard',
                   templateUrl: 'app/dashboard/dashboard.html',
                   settings: {
                       nav: 3,
                       content: ' dashboard'
                   }
               }
           }, {
               url: '/profile-page/:Id',
               config: {
                   title: 'Profile-Page',
                   templateUrl: 'app/profile-page/profile-page.html',
                   settings: {
                       nav: 4,
                       content: '^__i class="fa fa-lock"> profile-page'
                   }
               }
           }


Please Help .If you need more information Please reply . Thank you in advance.
Posted
Updated 8-Sep-15 23:47pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900