url : function() { var base = 'clocks'; if (this.isNew()) return base; return base + (base.charAt(base.length - 1) == '/' ? '' : '/') + this.id;},
This approach assumes that you have implemented controllers with the hashbang in your URL like so,