AngularJS Service for Making registration card operation