JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.7/angular.js"></script>
<div ng-app ng-controller="test">
    {{test}} 1.2.7
</div>

JavaScript

//1.2.7

function test($scope, $http) {
    $scope.test = 'tested';

    $http.get('/echo/json/', {
        tested: true
    })
        .success(function (response) {
        console.log(response);
    })
        .error(function (data, status) {
        alert('error callback ' + status);
    });
}