Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown object 'mc' #45

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sections/pipe/markup.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="h2">pipe/ajax plugin</h2>
</p>
<tabset><tab heading="markup">
<pre ng-non-bindable><code class="language-markup">
&lt;table class="table" st-pipe="mc.callServer" st-table="mc.displayed">
&lt;table class="table" st-pipe="callServer" st-table="displayed">
&lt;thead>
&lt;tr>
&lt;th st-sort="id">id&lt;/th>
Expand All @@ -27,15 +27,15 @@ <h2 class="h2">pipe/ajax plugin</h2>
&lt;th>&lt;input st-search="saved"/>&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody ng-show="!mc.isLoading">
&lt;tr ng-repeat="row in mc.displayed">
&lt;tbody ng-show="!isLoading">
&lt;tr ng-repeat="row in displayed">
&lt;td>{{row.id}}&lt;/td>
&lt;td>{{row.name}}&lt;/td>
&lt;td>{{row.age}}&lt;/td>
&lt;td>{{row.saved}}&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;tbody ng-show="mc.isLoading">
&lt;tbody ng-show="isLoading">
&lt;tr>
&lt;td colspan="4" class="text-center">Loading ... &lt;/td>
&lt;/tr>
Expand Down