Skip to content

Instantly share code, notes, and snippets.

@avermeulen
Last active September 23, 2020 05:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save avermeulen/9546200 to your computer and use it in GitHub Desktop.
Save avermeulen/9546200 to your computer and use it in GitHub Desktop.
A very basic AngularJS application
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body ng-app="myApp">
<div ng-controller="CtrlOne">Hello, {{name}}</div>
<script>
var myApp = angular.module("myApp", []);
myApp.controller("CtrlOne", function ($scope) {
$scope.name = "Andre";
});
</script>
</body>
</html>
@CHINTAN1996
Copy link

hhhhhhhg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment