- 1 <html>
- 2 <head>
- 3 <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
- 4 </head>
- 5 <body >
- 6 <div ng-app="">
- 7 <input type="text" ng-model="name"> </input>
- 8 <h3> {{name }} </h3>
- 9
- 10
- 11 <h1> Meal of the day {{meals.lunch}} </h1>
- 12
- 13 <script>
- 14 $scope.meals = {
- 15 "breakfast" : "eggs",
- 16 "lunch" : "pizza",
- 17 "dinner" : "soup"
- 18 };
- 19 </script>
- 20 </div>
- 21 </body>
- 22
- 23 </html>
SHARE
TWEET
Untitled
a guest
Dec 26th, 2014
165
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

