Have table notified about metric selection changes
Removed unused code
Added: Pagination template
Fixed sorting order of metrics menu items
Cleaned up index.html
Update table correctly for metric changes
Use a "static class" … this is a singleton anyways
Improved pagination style
Iterate selection only
Cleaned up code
Make table pagintable

Using custom pagination to make sure the same scope is used.

Code should be moved into a custom directive at some point.
Removed useless flag
Added: next and prev buttons
Refactored scope change listening

This makes the code more extensible to listen on other variable changes,
too.
Naming
Make table sortable