Did you know you could replace these two lines with this?

```
$rootScope.$apply("dataOnVar = 'data-on text'");
```

Doesn't need to be changed but just thought it was an interesting alternative method of updating the scope.