i am new to angular js trying to addclass but getting error addclass not a function : i am new to angular js trying to addclass but getting error addclass not a function plz help	

    $scope.viewReport = function(ev,element) {
            window.location="#tab7";
            $scope.tabact = document.getElementById('tab7');
            console.log($scope.tabact);
            $scope.tabact.addClass('active');
    
    				$rootScope.callOrder = false
            $rootScope.step1=true
    				$rootScope.step2=false
    				$rootScope.step3=false
    			}