This is bad JavaScript, you need to define the function before using it on line 48
```javascript
$scope.$watch('current_person', getTeams);
```