setting up angularjs environment