Created
April 23, 2014 04:44
-
-
Save tshm/11202971 to your computer and use it in GitHub Desktop.
angular integration in hta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="app" id="ng-app"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | |
<title>my app</title> | |
<HTA:APPLICATION | |
APPLICATIONNAME="my app" | |
SCROLL="yes" | |
SINGLEINSTANCE="yes" /> | |
<style> | |
table, td, th { border: 1px solid black; } | |
</style> | |
</head> | |
<body ng-controller="ctrl"> | |
name: {{ name }} | |
<script type="text/javascript" src="angular.js"></script> | |
<script type="text/javascript"> | |
var module = angular.module('app', []); | |
module.controller('ctrl', function($scope) { | |
$scope.name = 'my name'; | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment