JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="passwdtool" ng-controller="PasswordController">
Password: <input ng-model="pass" required type="text"><br>
<span>{{ hash }}</span><br>
</div>
<div ng-app="passwdtool2" ng-controller="PasswordController2">
Password: <input ng-model="pass" required type="text"><br>
<span>{{ hash }}</span><br>
</div>
JavaScript
angular.module('passwdtool', [])
.controller('PasswordController', ['$scope', function($scope) {
$scope.pass = "password";
$scope.hash = "a hash";
}]);
angular.module('passwdtool2', [])
.controller('PasswordController2', ['$scope', function($scope) {
$scope.pass = "password";
$scope.hash = "a hash";
}]);