// configure our routes iopApp.config(function($routeProvider) { $routeProvider // route for the home page .when('/', { templateUrl : 'vehicleSelectorTemplate', controller : 'iopVehicleController' }) // route for the connection picker .when('/:model/:year', { templateUrl : 'connectionSelectorTemplate', controller : 'iopConnectionController' }) .when('/:system/:region/:culture/:cultureid/:regionid', { templateUrl : 'iframeTemplate', controller : 'iopIframe' }); });