Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 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
771d3b1
Fixed app.js and added watch based progress
chandermani Jun 8, 2014
7937575
Checkpoint 2 reached. Controller done
chandermani Jun 8, 2014
c6421fb
intial view added
chandermani Jun 8, 2014
a5fc54d
updated css
chandermani Jun 8, 2014
8765191
Fixed the view
chandermani Jun 8, 2014
d657f2c
Fixed app header
chandermani Jun 15, 2014
ce27a45
Removed variation array
chandermani Jun 15, 2014
87a36a0
used incrememt operation
chandermani Jun 18, 2014
c259a6a
Fixed view
chandermani Jun 20, 2014
bd644ea
Added exercise data.
chandermani Jun 21, 2014
88e7b12
changed variable exercise to details
chandermani Jun 22, 2014
f96736e
Fixed view due to model rename
chandermani Jun 22, 2014
3a1c310
Fixe Exercise class
chandermani Jun 22, 2014
62da7d6
Fixed case with sound
chandermani Jun 22, 2014
42322f7
Added jumpingjack data
chandermani Jun 22, 2014
f6f60c3
Added images and fixed css
chandermani Jun 25, 2014
00d4495
Delete partial files not used
chandermani Jun 25, 2014
0598f58
Removed directive.js
chandermani Jun 25, 2014
5b41fef
Removed chapter1 code
chandermani Jun 25, 2014
ec1c5d7
Renamed chapter2 folder to apps
chandermani Oct 14, 2014
cc2a23d
Renamed apps to trainer
chandermani Oct 16, 2014
b8819c2
Adding GuessTheNumber to every branch.
chandermani Nov 19, 2014
ce46c5b
Upgraded to Angular 1.3.3
chandermani Nov 19, 2014
df8f871
Removed location service reference.
chandermani Nov 25, 2014
727469b
Renamed assignment sound to nameSound.
chandermani Dec 4, 2014
796c53e
Fixed path casing.
chandermani Dec 7, 2014
e5fae3e
Fixed path casing.
chandermani Dec 8, 2014
0ea5458
Replaced some images.
chandermani Dec 11, 2014
77e74f8
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