onLogin call function inside angular module


#1

Hi,

How can I use Account.onLogin to call a function inside a Angular Module or controller? I’m using angular-meteor.

It’s possible?


#2

I solved changing the Accounts.onLogin to Tracker.autorun. Works fine.