daily pastebin goal
86%
SHARE
TWEET

Angular 1.4 View Example

joelmello Dec 2nd, 2016 3 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="games">
  2.     <div class="row page-head">
  3.         <div class="col-xs-11">
  4.             <h2>{{pageTitle}}</h2>
  5.         </div>
  6.  
  7.         <div class="col-xs-1">
  8.             <button class="btn btn-md btn-default refresh" data-ng-click="refreshGameScores()"><i class="glyphicon glyphicon-refresh" data-ng-class="{ 'spin': loading }" style="cursor:pointer"></i></button>
  9.         </div>
  10.     </div>
  11.     <div class="row page-body" style="padding: 5px;">
  12.         <div class="game col-sm-3 col-xs-12" data-ng-repeat="event in events">
  13.             <div class="table full-width layout-fixed border-box">
  14.                 <div class="cell text-center">
  15.                     <i class="weather" data-ng-class="::event.weatherCssClass" title="{{::event.weatherDescription}}"></i>
  16.                     <div class="time">{{::event.eventStartDateTicks|date:'M/d'}} {{::event.eventStartDateTicks|date:'h:mm a'}}</div>
  17.                     <span class="event-status ellipsis" data-ng-class="event.status.cssClass" title="{{event.status.caption}}">{{event.status.title}}</span>
  18.                 </div>
  19.                 <div class="cell text-center">
  20.                     <span class="score">{{event.teams[0].Score}}</span>
  21.                     <span class="team-name">{{::event.teams[0].Name}}</span>
  22.                 </div>
  23.                 <div class="cell text-center">
  24.                     <span class="score">{{event.teams[1].Score}}</span>
  25.                     <span class="team-name">{{::event.teams[1].Name}}</span>
  26.                 </div>
  27.             </div>
  28.         </div>
  29.     </div>
  30. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top