docs: function goToUrl(url) {
          if (!url) { return; }
  
          if (_.isArray(url)) {
              url = url.join('/');
          }
  
          var hasHttp = url.indexOf('http') === 0;
          if (!hasHttp && url.indexOf('/') !== 0) {
              url = '/' + url;
          }
  
          hasHttp ? $window.location.href = url : $location.path(url);
      }