Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
giamir committed Mar 29, 2016
1 parent e763fe4 commit f84a37d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public
│   ├── controllers
│   │   ├── globalStatsController.js
│   │   └── singleMatchStatsController.js
│ ├── directives
│   │   └── globalStatsDirective.js
│   └── factories
│   ├── elaborateDataFactory.js
│   ├── refineDataFactory.js
Expand All @@ -50,10 +52,13 @@ public
* RefineData *is responsible for transforming JSON objects in an "easy to handle" format for the controllers.*

**Controllers**
* GlobalStats *is responsible for displaying global statistics using the view global-stats.html.*
* GlobalStats *is responsible for displaying global statistics using the directive global-stats.*
* SingleMatchStats *is responsible for dynamically focusing the preferred match and
displaying its statistics using the view match-stats.html.*

**Directives**
* globalStats *is responsible for attach the appropriate html to display global statistics to the DOM.*

If you want to have a deep understanding of the business logic implemented, please
follow [this link](https://github.com/giamir/player_stats/tree/master/test/unit) where all tests cases are located.

Expand Down
3 changes: 2 additions & 1 deletion public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
});
}

angular.module('PlayerStats', ['chart.js']);
angular.module('PlayerStats', ['chart.js'])
.config(config);
})();

0 comments on commit f84a37d

Please sign in to comment.