code: function(uri) {
          var original_segments = window.location.pathname.split('/');
          var route_segments = uri.split('/');
          var route_length = route_segments.length;
          var params = {};
          for (var i = 1; i < route_length; i++) {
              if (route_segments[i].indexOf('{') !== -1) {
                  var name = route_segments[i].substr(1, route_segments[i].length-2);
                  params[name] = original_segments[i];
              }
          }
          return params;
      }
docs: Get route params
  @param uri
  @returns {{}}