JSFiddle - React, Tailwind, and code Playground
by crysfel
HTML
<div ng-app="MyApp">
<div ng-controller="Controller">
<button ng-click="redirect()">Redirect</button>
</div>
</div>
JavaScript
angular.module('MyApp',[])
.controller('Controller',function($scope,$window){
$scope.redirect = function(){
$window.location.href = "https://quizzpot.com/courses/introduccion-a-angular-js/"
}
});