Angular: Empty Fiddle

http://angularjs.org/

by Željko Szep

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.28/angular.js"></script>
 <!-- template1.html -->
  <script type="text/ng-template" id="template1.html">
    Content of template1.html
  </script>
  
  <!-- template2.html -->
  <script type="text/ng-template" id="template2.html">
    Content of template2.html
  </script>

<div ng-controller="MyCtrl">
  Hello, {{name}}!
</div>

JavaScript

var myApp = angular.module('myApp',[]);

//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});

function MyCtrl($scope) {
    $scope.name = 'Superhero';
}