JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp">
<div ng-view></div>
</div>
JavaScript
var myApp = angular.module('myApp',[],function($routeProvider) {
$routeProvider
.when('/home', {
template:'<div>Hello {{ name }}!</div>',
controller:'oneCtrl'
})
.otherwise({redirectTo:'/home'});
});
function oneCtrl($scope) {
console.log('test');
$scope.name = 'World';
}