Created
July 10, 2018 05:24
-
-
Save rahulsahay19/ab849fb1d5f570b016360c90645f967a to your computer and use it in GitHub Desktop.
index.html
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Angular Elements Demo</title> | |
</head> | |
<body> | |
<div ng-app="myApp" ng-controller="myCtrl"> | |
First Name: | |
<input type="text" ng-model="firstName"> | |
<br> Last Name: | |
<input type="text" ng-model="lastName"> | |
<br> | |
<br> Full Name: {{firstName + " " + lastName}} | |
<app-greeter></app-greeter> | |
</div> | |
<script src="ng-elements.js"></script> | |
<script src="angular.min.js"></script> | |
<script src="main-controller.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment