Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>
<div ng-app="testApp" ng-controller="applicationCtrl">
 <h2>Message:</h2> 
        {{message}}<br/>
        <span ng-bind="message"></span> <br/>
        <input type="text" ng-model="message"/> 
</div>
<script>
var app = angular.module('testApp', []);
app.controller('applicationCtrl', function($scope) {
    $scope.message= "Hello jai!";
});
</script>
</body>
</html>
Output 300px

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers