Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /buildings?id=110&type=special&color=red
- $routeProvider
- // route for the main page which will direct to the buildings page
- .when('/', {
- templateUrl : 'web/pages/dashboard.html',
- controller : 'dashboardController',
- controllerAs : 'dashboard'
- })
- // route for the main page which will direct to the buildings page
- .when('/buildings/:buildingId/:buildingType/:buildingColor', {
- templateUrl : 'web/pages/buildings.html',
- controller : 'mainController',
- controllerAs : 'buildings'
- })
- ;
- });
- /buildings/110/special/red
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement