local app server using angularjs as controls