I'm making a real estate website using angular 2, google maps, etc. and when a user changes the center of the map I perform a search to the api indicating the current position of the map as well as the radius. The thing is, I want to reflect th...
I'm making a resource viewer app, but the problem is that i tried to match  when("/!/:resourceUrl").  It works fine if the resource url is something like /path, but how can I make something like a /path/to/the/resource. I don't know h...
I started to use react-router v4. I have a simple <Router> in my app.js with some navigation links (see code below). If I navigate to localhost/vocabulary, router redirects me to the right page. However, when I press reload (F5) afterwards (loc...
Quite odd problem, sorry for asking, i'm quite new to Symfony/Twig. My route requires a mandatory region_id paramenter:  ajax_provinces_by_region:   pattern: /ajax/region/{region_id}/provinces   defaults: {_controller: SWAItaliaInCifreBundle:Ajax...
I would like to return the  .state('name') when I change location in angular.  From my run() it can return the $state object:   .run(function($rootScope, Analytics, $location, $stateParams, $state) {       console.log($state);     but when I...
Okay, I have two use cases for my question here:   I'm working on an application which has a /en/register route. It all works good when I'm at the root and I click a button that does this.router.navigate([this.routeParams.lang, 'register&...
Is it possible to have optional parameters in a Backbone.js route?  e.g this:  routes:   "search/[:query]": "searchIndex"   instead of:  routes:   "search/": "searchIndex"   "search/:query": "searchIndex...
I'm building an Address Book to learn angular and have it working nicely until I try to use the route manager. The issue is with loading the angular route manager via require. I'm getting the following error 'Uncaught object'.  There...
Looking through this documentation: https://router.vuejs.org/en/essentials/navigation.html  It looks like you can bind the <router-link :to="variableName">Link Text</routerlink> Which is pretty nifty; however, I've had some tr...
In Ember I can use this:  App.Router.map(function() {     this.route('accomodations'); });   so if one goes to /accomodations it will load that view.  I can also add:    App.Router.map(function() {     this.route('accomodations', { pa...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.