use angular-ui. added location directive