As I saw it the directive would do

```
var url = scope.options.catalogUrlTemplate.replace('{Topic}', currentTopic);
```