-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why you use notification and namespaceJs? #11
Comments
$scope events should be used only for angular internal stuff (for example $destroy event of scopes). You should always consider NOT to use $scope at all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why you use notification but not rootScope.emit?
And the event name is the same as namespace you defined, why not just use a string directly? I tried and do not get auto complete in PHPStorm so what's the point?
The text was updated successfully, but these errors were encountered: