Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="angularjs 1.2.2 init priority issue" />
<meta charset=utf-8 />
<title>JS Bin</title>
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.2/angular.min.js"></script>
</head>
  <body ng-app>{{1+1}}
  <div ng-include="templateName" ng-init="templateName='template2'"></div>
  
<script type="text/ng-template" id="template2">
1
</script>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
bullgarepro
0viewers