Fix for empty location on $stateParams
Merge pull request #33 from jakecadams/fix

Fix for empty location on $stateParams