refactoring-angular : issues with angular scopes