Skip to content

Instantly share code, notes, and snippets.

@james-johnstone
james-johnstone / index.html
Created January 14, 2016 23:01
tic tac toe
.container(ng-controller='tictactoeController', ng-app='app')
.well.absolute-center.tictactoe.center.transition
.game.animated(ng-show="gameStarted")
.game-row.transitionResize(data-ng-repeat="row in gameObject track by $index")
.column.transitionResize(ng-repeat="col in row track by $index",
ng-class="{'empty' : !col , 'fa fa-times' : col == 1 , 'fa fa-circle-o' : col == 2 }",
ng-click="gameClick(row, $index)")
.peer-details.transition(ng-show="is2Player")
.panel.panel-primary
.panel-heading
<div class='container' ng-app='app' ng-controller='weatherController'>
<img class='background' src="https://images.unsplash.com/photo-1446426156356-92b664d86b77?crop=entropy&fit=crop&fm=jpg&h=650&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1375" alt='background image'>
<div class='content jumbotron'>
<div class='row'>
<div class='location-info' ng-show='!!weather'>
<div class='well'>
<h2>{{location.city}}</h2>
</div>
</div>
</div>