Refactored to use ngRoute (resolves #9)