All Questions
Tagged with angularjs angular-ui-router
8,713 questions
0
votes
0
answers
13
views
Cordova UI Router not reloading when using web inspector manual refresh to reload app
When using web inspector on chrome/android or safari/iphone my app will launch just fine and I can inspect everything. However on certain occasions, especially on Safari, app startup console messages ...
2
votes
2
answers
104
views
Angular JS Angular 18 hybrid routing
I have an angular js/angular 18 hybrid application which is working, but what I am trying to do is migrate the routes of the customer users like this:
.state('customer', {
url: "/...
1115
votes
15
answers
272k
views
What is the difference between angular-route and angular-ui-router?
I'm planning to use AngularJS in my big applications. I'm in the process to find out the right modules to use.
What is the difference between ngRoute (angular-route.js) and ui-router (angular-ui-...
1
vote
0
answers
13
views
using Angularjs 1.8.3, my menu item showSubmissions shows the login screen instead of the submissions page
When I click on the $ctrl.showSubmissions() it shows the login screen instead of the submissions page.
I have console.logs and it appears the auth is OK, it does not seem to be routing correctly.
All ...
1
vote
2
answers
287
views
Component TasksComponent is standalone, and cannot be declared in an NgModule
X [ERROR] TS-996008: Component TasksComponent is standalone, and cannot be declared in an NgModule. Did you mean to import it instead? [plugin angular-compiler]
src/app/app.module.ts:13:4:
13 │ ...
0
votes
0
answers
32
views
AngularJS UI-Router dynamic resolve list
We currently have this dynamic routing (don't mind sytax errors, transformed from CoffeeScript by hand):
angular
.module 'App'
.config(function ($stateProvider) {
$stateProvider
...
332
votes
18
answers
480k
views
How to reload the current state?
I'm using Angular UI Router and would like to reload the current state and refresh all data / re-run the controllers for the current state and it's parent.
I have 3 state levels: directory....
379
votes
10
answers
183k
views
AngularJS ui-router login authentication
I am new to AngularJS, and I am a little confused of how I can use angular-"ui-router" in the following scenario:
I am building a web application which consists of two sections. The first section is ...
382
votes
3
answers
389k
views
How to pass parameters using ui-sref in ui-router to the controller
I need to pass and receive two parameters to the state I want to transit to using ui-sref of ui-router.
Something like using the link below for transitioning the state to home with foo and bar ...
1
vote
1
answer
35
views
NG8001: 'router-outlet' is not a known element:
i was having a problem at first I was trying to log in to connect with main when I logged in, but while I moved, I asked for help pro gpt and now an error appeared that I could not solve in any way, ...
1
vote
1
answer
30
views
How to mock AngularJS module config providers
In our module we have a custom method defined that essentially adds on more functionality to $stateProvider...
(function () {
'use strict';
angular
.module('someModule', []...
158
votes
14
answers
161k
views
Angular - ui-router get previous state
Is there a way to get the previous state of the current state?
For example I would like to know what the previous state was before current state B (where previous state would have been state A).
I ...
2
votes
1
answer
81
views
How to maintain query params when redirecting in Angular RoutingModule with redirectTo?
Summary
I want to redirect in my Angular RoutingModule from one path to another while maintaining the query params. However, when the redirect completes, the query params are not present anymore.
The ...
103
votes
15
answers
64k
views
Set Page title using UI-Router
I am migrating my AngularJS based app to use ui-router instead of the built in routing. I have it configured as shown below
.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider....
0
votes
2
answers
130
views
Angular textarea does not update data on time but the console shows it correctly
I use service socket.io to emit and receive data. When the send button is clicked it emits data and shows "FENEmitInfo" then receives the data and shows "FENSocketioGetCnt" and &...