Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/dist/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body ng-app="ang6App">
  <div class="container" ng-controller="templatesCtrl">
    <div ng-repeat="(key, val) in tempTemp">
      
      
      {{key}} {{val}}
    </div>
    
    //how do I display the word page?
    <h4>Debug</h4>
    <pre>template: {{ temp }}</pre>
    <pre>templates: {{ template | json }}</pre>
</div>
</body>
</html>
 
var angApp = angular.module('ang6App', []);
angular.module("ang6App")
    .controller("MainCtrl", function ($scope) {
        
    })
    .controller("templatesCtrl", function ($scope) {
      /* $scope.template = Templates; */
      
$scope.tempTemp = [{
        'page': {
            'name': 'jordan test page'
        }
        
    },
    //end of page
    {
        'page': {
            'name': 'jordan test page'
        }
    }
];
      
      
      
          //end of templates
      
      
      });
/* 
angApp.factory("Templates", function () {
    var Templates = {};
    Templates.section = [];
   
    return Templates;
}); */
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers