I'd break this into multiple lines for readability, i.e.

```javascript
$routeProvider.when(
   '/results', { 
      templateUrl: '/templates/mainResults.html', 
      controller: 'ResultsCtrl' 
 } );
```