Added jsHint to enforce coding standards.

Here's the associated error --> https://docs.angularjs.org/error/$location/nobase