-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (21 loc) · 918 Bytes
/
index.html
File metadata and controls
25 lines (21 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html ng-app="angularjs-starter">
<head lang="en">
<meta charset="utf-8">
<title>Custom Plunker</title>
<link rel="stylesheet" type="text/css" href="http://eclipse.org/orion/editor/releases/2.0/built-editor.css"/>
<script type="text/javascript" src="http://eclipse.org/orion/editor/releases/2.0/built-editor.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script>
<script type="text/javascript" src="angular-orion-directive.js"></script>
<script>
var app = angular.module('angularjs-starter', ['angular.directives-orion']);
app.controller('MainCtrl', function($scope) {
$scope.firstName = "var aVariable = 'Super Patate';";
});
</script>
</head>
<body ng-controller="MainCtrl">
{{firstName}}
<ang:orion editor-class='tralala' editor-model="firstName" />
</body>
</html>