add entry service with shared service added in angularjs