Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
71fadbc
Removed console.log
chandermani Jun 7, 2014
2c93fdc
Checkpoint1 implementation is complete
chandermani Jun 7, 2014
14bb476
fixed checkpoint 1
chandermani Jun 7, 2014
c5879dd
Fixed page title
chandermani Jun 8, 2014
e8fc7dd
Removed variation array
chandermani Jun 15, 2014
22a3eec
Removed partials for first checkpoint.
chandermani Jun 17, 2014
a054294
Added exercise data.
chandermani Jun 21, 2014
4daccff
changed variable exercise to details
chandermani Jun 22, 2014
bc307f0
Fixe Exercise class
chandermani Jun 22, 2014
ec57621
Fixed case with sound
chandermani Jun 22, 2014
9127cb3
Added jumpingjack data
chandermani Jun 22, 2014
3cc895d
Fixed css code
chandermani Jun 25, 2014
26e1df7
Added images and fixed css
chandermani Jun 25, 2014
70e6762
Fixed index page.
chandermani Jun 25, 2014
c83dfda
Fixed index page.
chandermani Jun 25, 2014
1f2a20f
Fixed css code
chandermani Jun 25, 2014
478d84c
Removed directive.js
chandermani Jun 25, 2014
a9d9ed3
Removed chapter1 code
chandermani Jun 25, 2014
77d3440
Renamed chapter2 folder to apps
chandermani Oct 14, 2014
2be6f28
Rename folder apps to trainer
chandermani Oct 15, 2014
a9d0d49
Removed apps folder
chandermani Oct 15, 2014
f4d610d
Adding GuessTheNumber to every branch.
chandermani Nov 19, 2014
3a36adf
Upgraded to Angular 1.3.3
chandermani Nov 19, 2014
cda7183
Added code formatting.
chandermani Nov 24, 2014
fe951fc
Removed a stray $location injection.
chandermani Dec 4, 2014
a792643
Renamed assignment sound to nameSound.
chandermani Dec 4, 2014
025da6a
Fixed path casing.
chandermani Dec 7, 2014
3fe5e04
Fixed path casing.
chandermani Dec 8, 2014
9496cc7
Replaced some images.
chandermani Dec 11, 2014
d1d07f0
Added missing README.md file
chandermani Oct 16, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Guess The Number !</title>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body ng-app>
<body ng-app="app">
<div class="container" ng-controller="GuessTheNumberController">
<h2>Guess the Number !</h2>
<p class="well lead">Guess the computer generated random number between 1 and 1000.</p>
Expand All @@ -18,9 +18,10 @@ <h2>Guess the Number !</h2>
</p>
<p class="text-info">No of guesses : <span class="badge">{{noOfTries}}</span><p>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.js"></script>
<script type="text/javascript">
function GuessTheNumberController($scope) {
angular.module('app',[])
.controller('GuessTheNumberController',function($scope) {
$scope.verifyGuess = function () {
$scope.deviation = $scope.original - $scope.guess;
$scope.noOfTries = $scope.noOfTries + 1;
Expand All @@ -32,7 +33,7 @@ <h2>Guess the Number !</h2>
$scope.deviation = null;
}
$scope.initializeGame();
}
});
</script>
</body>
</html>
File renamed without changes.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# AngularJS By Example

[![AngularJS By Example Front Cover](https://d1ldz4te4covpm.cloudfront.net/sites/default/files/imagecache/ppv4_main_book_cover/9781783553815.png)](https://www.packtpub.com/web-development/angularjs-example)

Source code repository for the book [AngularJS by Example](https://www.packtpub.com/web-development/angularjs-example)
163 changes: 0 additions & 163 deletions chapter2/app/css/app.css

This file was deleted.

Binary file removed chapter2/app/img/JumpingJacks.png
Binary file not shown.
Binary file removed chapter2/app/img/Plank.png
Binary file not shown.
Binary file removed chapter2/app/img/Pushup.png
Binary file not shown.
Binary file removed chapter2/app/img/crunches.png
Binary file not shown.
Binary file removed chapter2/app/img/highknees.png
Binary file not shown.
Binary file removed chapter2/app/img/lunges.png
Binary file not shown.
Binary file removed chapter2/app/img/pushupNRotate.jpg
Binary file not shown.
Binary file removed chapter2/app/img/rest.png
Binary file not shown.
Binary file removed chapter2/app/img/sideplank.png
Binary file not shown.
Binary file removed chapter2/app/img/squat.png
Binary file not shown.
Binary file removed chapter2/app/img/stepUpOntoChair.jpeg
Binary file not shown.
Binary file removed chapter2/app/img/tricepdips.jpg
Binary file not shown.
Binary file removed chapter2/app/img/wallsit.png
Binary file not shown.
37 changes: 0 additions & 37 deletions chapter2/app/index.html

This file was deleted.

10 changes: 0 additions & 10 deletions chapter2/app/js/7MinWorkout/filters.js

This file was deleted.

13 changes: 0 additions & 13 deletions chapter2/app/js/7MinWorkout/services.js

This file was deleted.

Loading