JSFiddle - React, Tailwind, and code Playground

HTML

<section ng-app="DemoApp" ng-controller="SuperCtrl">
    <a href="/#/">This will reload the entire page</a>
    <br><br><br><br>
        <a ng-click="changePathWithoutReload('/whateverpath');">Navigate without reload</a>
        <br><br><br>
    Current Path: {{currentPath}}
</section>

JavaScript

var app = angular.module('DemoApp', []);

app.controller('SuperCtrl', function($scope, $location){
    $scope.changePathWithoutReload = function(path) {
        $location.path(path);
        $scope.currentPath = $location.path();
    }    
    $scope.currentPath = $location.path();
});