Added detection for AngularJS