I think this var should be
```javascript
_this = this;
```
instead of "customScope", since it makes reference to the view scope and "customScope" doesn't tells which scope it is.