Skip to content
This repository was archived by the owner on Jul 16, 2019. It is now read-only.
This repository was archived by the owner on Jul 16, 2019. It is now read-only.

Add $rootScope to service wrappers #8

@mstaessen

Description

@mstaessen

I was thinking the other night that it could be useful to include $rootScope in the service wrappers such that $scope.apply() can get called in the in the wrapper. This way, the module that uses the service does not have to call this anymore.

But I do think that $rootScope.apply() refreshes the entire scope (root + children) whereas $scope.apply only refreshes the current scope. This could introduce performance issues.

So I need to investigate this, unless somebody already did ;)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions