Currently working on a straightforward AngularJS app that features a game, home view, and game over view. I've shared most of the code below:
http://jsfiddle.net/Seasamh/5bqq1bj8/
Here are the html templates:
home.html
<span>This is the main page</span>
<a ng-click="setRoute('game')">Play game</a>
game.html
<div id="timer"></div>
<div class="col-md-6 left">
<div id="leftNumber"></div>
</div>
<div class="col-md-6 right">
<div id="rightNumber"></div>
</div>
game-over.html
<span>Game over!</span>
Struggling to render the actual code of the game despite the timer functioning properly. The game code resides in a service that I'm attempting to inject into the controller, but facing complications.
Additionally, utilizing jQuery with noConflict() for DOM manipulation. Appreciate any assistance provided.