So I'd use $language.uses() instead of me.currentLang here. Also, currentLang and currentTopic don't need to be stored on the instance, they can just be local/private to the Layers constructor function.