the style convention for the use of ternary operator in angular code base is:

```js
pathname: (condition)
    ? val1
    : val2
```

if you don't like it you can talk to misko :)