and you could remove the ``angular.extend`` but add directly ``spec['lang' + lang] = true;`` here