Last active
August 29, 2015 14:06
-
-
Save Zizzamia/08ac73cd072df87ebe2b to your computer and use it in GitHub Desktop.
Tasty lab five
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 ng-app="tasteAngulajs"> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
</head> | |
<body> | |
<header></header> | |
<footer></footer> | |
<script> | |
angular.module('tasteAngulajs', []) | |
.config(function() { | |
}) | |
.controller('tasteController', function($scope) { | |
$scope.favoriteCoffee = 'Espresso'; | |
}) | |
.controller('awesomeController', function($scope) { | |
$scope.everything = 'is Awesome!'; | |
}); | |
</script> | |
</body> | |
</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
<div> | |
Favorite Coffee : {{ favoriteCoffee }} | |
</div> |
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
<div> | |
Everything : {{ everything }} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment