diff --git a/app.js b/app.js new file mode 100644 index 0000000..66ce544 --- /dev/null +++ b/app.js @@ -0,0 +1,20 @@ +angular.module('museumApp',[]) +.controller("ExhibitionController", ExhibitionController) +.controller("GeneralController", GeneralController) + +function ExhibitionController($scope){ + $scope.artwork = "http://www.metmuseum.org/~/media/Images/Exhibitions/2015/Ancient%20Egypt/AncientEgypt_Home_Page.jpg?mw=988"; + $scope.title = "Sagent Portraits and Friends"; + $scope.author = "By John Sagent"; +} + +function GeneralController($scope){ + $scope.time = [ + {day: "Monday", hours: "7:00-9:00pm"}, + {day: "Tuesday", hours: "7:00-9:00pm"}, + {day: "Wednesday", hours: "7:00-9:00pm"}, + {day: "Thursday", hours: "7:00-9:00pm"} + ]; + $scope.price = [25, 17, 12]; +} + diff --git a/lab.html b/lab.html new file mode 100644 index 0000000..13e9858 --- /dev/null +++ b/lab.html @@ -0,0 +1,39 @@ + + +
+