Last active
March 13, 2016 00:03
-
-
Save yoren/3ccac8c72f89a73b2a4f to your computer and use it in GitHub Desktop.
Hello, AngularJS!
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> | |
<head> | |
<base href="/jsonapi/"> | |
<title>AngularJS Demo Theme</title> | |
<?php wp_head(); ?> | |
</head> | |
<body> | |
<header> | |
<h1> | |
<a href="<?php echo site_url(); ?>">AngularJS Demo Theme</a> | |
</h1> | |
</header> | |
<div> | |
<input type="text" ng-model="name"> | |
<p>Hello, {{name}}!</p> | |
</div> | |
<footer> | |
© <?php echo date( 'Y' ); ?> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment