set up the environment for angularjs