Updated code for minify purposes

Hi, this is my first pull request ever so I hope I am doing it right.

I am using the code from angularFire-seed as a starting point for my project and I ran into issue when I tried to minify the application via grunt build. 

The issue was not so obvious at the first look:

![issue](https://cloud.githubusercontent.com/assets/3595242/3139344/082868a6-e8d9-11e3-812d-ee012b5dc065.png)

I tracked it down step by step and I found out that it's an issue with minifying so I fixed it.

Now the app is working again even after grunt build.
I am sending the pull request and hopefully I did it the right way. 

Please let me know. 
Thank you.
Jop. Will soon.