Schema updated.
Angularjs is using correct api url.
Test environment detection added.