Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <article id="showSelector" class="panel" ng-controller="CinemaCtrl" onload="myFunction()">
- <header>
- <a ng-click="back()" class="icon fa-arrow-circle-left"></a><h2>Shows in {{getSelectedCinema()}}</h2>
- </header>
- <p>
- These shows are played in our single room theatre. Select one to reserce a ticket for it.
- </p>
- <section>
- <div class="row">
- <div class="4u" ng-repeat="show in shows">
- <div class="movieCard">
- <a ng-click="selectShow(show)"></a>
- <h3>{{show.nameOfShow}}</h3>
- <h4>{{show.timeOfShow | date:'MMM d'}}</h4>
- <h4>{{show.timeOfShow | date:'HH:mm'}}</h4>
- <p>Free seats: {{show.reservations | freeSeatFilter}}</p>
- </div>
- </div>
- </div>
- </section>
- <script>
- function myFunction() {
- alert("Page is loaded");
- };
- </script>
- </article>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement