Upgrade to angularjs 1.2.9
Refactor to work better on mobile devices.