All Questions
69 questions
0
votes
1
answer
40
views
Routing issue with angularjs while version update
Scenario : I have update my current angularjs version from AngularJS v1.5.5 to AngularJS v1.5.7. Application is working fine but there is issue with URL routing it is behaving different. Let's see ...
0
votes
1
answer
495
views
Persist data from the previous state while going back - Angular 1.4 UI Router
I have a web application wherein there are many states based on the URL change.
There is an User Management page (containing a search Input control) which lists the Users based on search results.
...
1
vote
1
answer
689
views
ui router back button issue
i am working on web app that uses ui-router version 0.3.2 and angular 1.5. i am having an issue with back button, when i hit the back button the url updates to appropriate state url, but does not ...
0
votes
0
answers
45
views
Angular UI-Router : Only able to access the Web App with Index.html
I am creating a Angualr 1.5 app using Ui-Router module for routing. But by default, my application wont open when I run the localhost:xxxx, instead I need to browse till Index.html like http://...
0
votes
0
answers
55
views
How to identify type of web server
I am currently trying to resolve routing issues on my angularjs project. And one of the solutions that I would like to try is to create url rewrite rules as stated here. However, I do not know which ...
1
vote
1
answer
141
views
AngularJS ui-router states with optional query params
Somebody knows how to create states structure with angular ui-router (AngularJS) that permits something like this:
1. https://urlexample.com/route?unknownParam1=1&unknownParam2=2....
2. https://...
2
votes
1
answer
5k
views
How to open $state,go() in new tab
I am trying to open a state in newtab but not able to achieven it. I am doing so using $state,go function.
I tried the below code too which was succesful and opend my url in newtab but browser is ...
0
votes
0
answers
149
views
angular how to convert url query params into the ui-router query parameters
for example i have a URL like this:
http://localhost:2422/?token=lfTdA5xRaWB6ZZFD7iEZlnAqrFy4FhzXQ==#/
and i want it to be like so:
http://localhost:2422/#/token=lfTdA5xRaWB6ZZFD7iEZlnAqrFy4FhzXQ==
...
0
votes
1
answer
584
views
Ionic: $state.go changes the url but view is not loaded
When I try to change state programatically, the URL changes, but the view is not loaded. After refreshing the page it loads perfectly, but reloading it using $window.location.reload(true); seems a bit ...
0
votes
1
answer
2k
views
controller reloads even though reloadOnSearch is set false
i build a webpage where I have several views but only one controller. As the controller should not reload on page switch I changed all the routes to "/main/{{itemNo}}/?routname". However when ...
0
votes
1
answer
36
views
Angular UI route parameters
I have this pattern in my route.js
.state('organizations', {
url: '/companies/:options?/:keyvalue',
templateUrl: '../app/components/organizations/organization.html',
...
1
vote
0
answers
397
views
$urlRouterProvider when() match any slug in URL?
I’m attempting to go to a specific state using the $urlRouterProvider’s when function.
The pattern I wish to match is a slug of any name directly after the base url. Like so:
http://baseurl.com/any-...
1
vote
0
answers
183
views
angular-ui-router url in address bar fails but state works with html5mode
I have a component I want to call
$stateProvider
.state('authorized', { url: '/authorized', template: '<authorize></authorize>' })
$locationProvider.html5Mode(true);
but when I do this ...
1
vote
0
answers
102
views
how to preload a child state within ui-view in angularjs
I have the following states
.state('candidate', {
url: '/candidate',
templateUrl: 'partials/candidate.html',
controller: 'CandidateCtrl'
})
.state('candidate....
0
votes
1
answer
982
views
angular material and ui router - not working
I am using angular material and ui-router in my project. I am trying to use one toolbar, sidenav and footer code for all the pages. That means Every view inserted into viewname:menucontent of menu....