Added angular view, and controller to handle an api.

Also added localhost:9000 to allowed sites