Also, I'd add a jasmine test for this.