added public (angularjs app)