Fixes a issue with manual created angular scopes
Minor issue