wouldnt a better check be:
if(this.mvcFramework === 'angular') {