Use ui-sref (instead of href) in links, to resolve links dynamically via the angluarjs-ui-router module.