Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app='myApp'>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
    <link rel="stylesheet" href="style.css" />
    <script src="script.js"></script>
  </head>
  <body>
    <h1>{{ 800 / 40 }} </h1>
    <h1 ng-controller="TestController">{{message}}</h1>
  </body>
</html>
 
var myapp = angular.module('myApp', []);
myapp.controller('TestController', function($scope){
  $scope.message= "Hello";
})
Output

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