Use routeprovider instead of ui-router