Updated to adhere to angularJS best practices - fixes #2

Big fan of this simple module and saw an open issue so I thought I might help out and update the module.

Update notes/instructions are all in README.md