Directory auto-complete.

The long form `$http()` handles encoding the URL parameters properly, and avoids having to include that encoding as part of the URL expression. I think `$http.get()` is best suited to fixed URLs without parameters.