$ 0 0 I don't think that stackoverflow question is related to mine! I don't have a redirect loop! and my root directive is outside my location block!