Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html ng-app="project">
  <head>
  
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-resource.min.js">
    </script>
    
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-route.min.js"></script>
  </head>
  <body>
    <h2>Do you see anything in the view?:</h2>
    <div ng-view></div>
  </body>
</html>
 
var myApp =  angular.module('project', ['ngResource', 'ngRoute'] );
myApp
    .config(['$sceDelegateProvider', function($sceDelegateProvider) {
         $sceDelegateProvider.resourceUrlWhitelist(['self', 'http://mhnystatic.s3.amazonaws.com/**', 'http://mhnystatic2.s3.amazonaws.com/**']);
     }])
.config(function($routeProvider) {
    $routeProvider.
      when('/', {controller:ListCtrl, templateUrl:'http://mhnystatic.s3.amazonaws.com/angulartest/list.html'}).
      otherwise({redirectTo:'/'});
  });
 
 
function ListCtrl() {
}
 
 
 
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers