Address JSLint errors.  Clean up whitespace and inject $location in header.
Merge pull request #3 from reergymerej/master

Address JSLint errors.  Fix whitespace, inject $location.