Skip to content

Instantly share code, notes, and snippets.

@LukasGasior1
Created May 28, 2015 14:22
Show Gist options
  • Save LukasGasior1/119509464e1f5b69c20b to your computer and use it in GitHub Desktop.
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