Python Dictionary Method Get Url Parameters Angular