Poc tokenpassing

Added conditional routing based on $location.host()