Skip to content

Instantly share code, notes, and snippets.

@LukasGasior1
Created May 28, 2015 14:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save LukasGasior1/119509464e1f5b69c20b to your computer and use it in GitHub Desktop.
<div ng-switch on="page">
<div ng-switch-when="create" ng-controller="CreateGameController">
<!-- content -->
</div>
<div ng-switch-when="choose_players" ng-controller="StartGameController">
<!-- content -->
</div>
<div ng-switch-when="game" ng-controller="GameController">
<!-- content -->
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment