Last active
September 26, 2018 17:28
-
-
Save xaiwant/12e7f9e4973d03e696bb131c4eb9e1eb to your computer and use it in GitHub Desktop.
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> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> | |
<body> | |
<div ng-app=”myApp "> | |
<p>Myself {{ firstname }}</p> | |
</div> | |
</body> | |
</html> | |
/*New App Declaration*/ | |
<script> | |
var app = angular.module('myApp', []); | |
app.controller('myCtrl', function($scope) { | |
$scope.firstname = "Jaywant Topno"; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment