Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <article id="showSelector" class="panel" ng-controller="CinemaCtrl" onload="myFunction()">
  2. <header>
  3. <a ng-click="back()" class="icon fa-arrow-circle-left"></a><h2>Shows in {{getSelectedCinema()}}</h2>
  4. </header>
  5. <p>
  6. These shows are played in our single room theatre. Select one to reserce a ticket for it.
  7. </p>
  8. <section>
  9. <div class="row">
  10. <div class="4u" ng-repeat="show in shows">
  11. <div class="movieCard">
  12. <a ng-click="selectShow(show)"></a>
  13. <h3>{{show.nameOfShow}}</h3>
  14. <h4>{{show.timeOfShow | date:'MMM d'}}</h4>
  15. <h4>{{show.timeOfShow | date:'HH:mm'}}</h4>
  16. <p>Free seats: {{show.reservations | freeSeatFilter}}</p>
  17. </div>
  18. </div>
  19. </div>
  20. </section>
  21. <script>
  22. function myFunction() {
  23. alert("Page is loaded");
  24. };
  25. </script>
  26. </article>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement