fixed location factory
Merge pull request #102 from RichardAvendano/angularLocFix

fixed location factory