Angularjs auth

Replace ng-token auth with the AngularJS native $http command.
Can we make this host dynamic as some sort of variable?