Added use of location-module from AngularJS.