Something in the build is broken, but this code is working with grunt serve. Minification of one of the newer pieces is what is causing the error.