Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'origin/master'
applying firefactory in controller
removed duplicating bets, use firefactory in all controllers
added category-detail, showing details for category...added links to categories in browse-bets...trying to add id of each new bet to corresponding category, so we can display last bets of this category etc...
still wroking on category-detail, trying to add last bets of category
added category-detail list of all bets from the category. added front page general statistic (new table in firebase also)
added creationDate which is filled with the timestamp of date creation, and added startDate which is the date the bet starts. also after creating a bet you are now redirected to it's details.
edit bet is now functional, it updates the firebase and everything, but not all options are added yet
working on editing rules and deleting them
minor changes
merged from blaz