Fix angular error on http, fix table for env

This commit removes the .success() functions from http calls because it
was causing an error. This commit also only adds the delete column in
env only if any keys exist. Env delete works.