setting up appBasement in angularJsPlay