JSFiddle - React, Tailwind, and code Playground

by anil001ry

HTML

<div ng-app="myApp" ng-controller="dummy"> 
    <a ng-href="" ng-click="redirectToGoogle()">Hello</a>
</div>

JavaScript

angular.module('myApp', [])
    .controller('dummy', ['$scope', '$window', function ($scope, $window) {
    function re() {
        $window.open('https://www.google.com', '_blank');
    };
    re();
}]);