Adding user angularjs service and controller