/// AIA.factory('AutheticationService',function(){ return { AuthenticateUser:function(userName,Password) { alert('called service'); return true; } }; });