Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Search:
- <input ng-model="query"> Sort by:
- <select ng-model="orderProp">
- <option value="username">username</option>
- <option value="password">password</option>
- </select>
- <ul>
- <li ng-repeat="user in users | filter:query | orderBy:orderProp">
- {{user.username}}
- <p>{{user.password}}</p>
- </li>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement