Url matching service for Angular.JS