Separate what’s on scope from things on controller.
Add a karma/Jasmine test.