You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
473 B
HTML
23 lines
473 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>yo</title>
|
|
</head>
|
|
<body ng-app="myApp">
|
|
<div ng-controller="myKontroller">
|
|
<h1>{{name}}</h1>
|
|
</div>
|
|
<script src="../bower_components/angular/angular.js"></script>
|
|
<script>
|
|
angular.module('myApp', []).
|
|
controller('myKontroller', function ($scope) {
|
|
$scope.name = 'hey';
|
|
var thing = 'document';
|
|
|
|
window[thing].getElementsByTagName('div')
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|