All Questions
117 questions
-1
votes
5
answers
170
views
How can i get value from URL in java script
http://localhost:3000/admin/parking/airportParkingPriorityUpdate/xyz
How do i get value "XYZ" from the url using javascript
0
votes
1
answer
3k
views
Uncaught Error injector modulerr Module Error
Uncaught Error injector modulerr Module Error.
Angular router not working properly.
After adding $stateProvider in app.config the angulerjs stop working by giving following error.
Failed to ...
0
votes
0
answers
45
views
how to show same data when back/reload button is clicked?
I have form.html page and when user hits next button it goes to some other page so i want user to be able to edit the data which he has entered before in form.html. But when user hits back button my ...
0
votes
0
answers
162
views
AngularJS: Error when using ui-sref
I am getting an error when using ui-sref
Uncaught Error: Syntax error, unrecognized expression: #!/home
AngularJS version - Angular#1.7.3
ui.router version - angular-ui-router#^1.0.20
html code:
...
0
votes
2
answers
1k
views
How to pass data from one page to another in single page application in angular
How can i pass data or value from one page to another in angular single page application . This is my first time to work with angular/typescript and javascript as a whole.
My objective is to pass ...
-1
votes
1
answer
65
views
How to achieve multiple routing in angular js
I'm practicing routing in Angular JS. So far I have worked on 2 pages Routing but now I want achieve 3 pages routing.
(function() {
'use strict';
angular
.module('testTabs', ['...
-1
votes
1
answer
52
views
ng-click is not giving any response while hitting web api
The html page is here with the whole code.
<body ng-app="mymodule">
<label>Search:</label><input type="text" placeholder="Search Here" ng-model="search" />
<table ...
0
votes
1
answer
67
views
Could not active the menu bar using Angular.js
I am facing an issue. I am unable active the right menu bar using Angular.js. I have some menu,sub-menu and sub-sub-menu but as per requirement I am unable to active those. I am explaining my code ...
3
votes
2
answers
2k
views
Change URL without removing history in Angularjs
I'm using 'ui.router' and '$state.go' to redirect page,
'navbar' of my project looks like this.
<ul class="sidebar-menu">
<li class="active">
<a ui-sref="root.menu({...
1
vote
1
answer
43
views
Ui.Router using lazyLoad imports JS files, but buttons lose functionality
The SmartAdmin template uses lazyScript to import the JS files, it works, everything works fine, but when I navigate between the pages the Ui buttons stop working. I can not understand because the ...
0
votes
1
answer
666
views
Dynamically setting the width of a container based on item widths returned from an Angular component
I'm using Angular JS 1.6 & UI Router for routing. I'm trying to create a layout that is completely horizontal. It's basically a "feed" of content coming from an Angular service and it uses a ...
0
votes
0
answers
423
views
Redirecting with AngularJS/OIDC not working in IE 11
I have some SPA code that's using Manfred Steyer's OIDC client and Identity Server as the Token Service it works great in Chrome & Firefox. But for some reason or another it's not working in IE 11....
0
votes
1
answer
110
views
View not injected or WARNING: Tried to load angular more than once
I'am using the version v1.0.0-rc.1 of ui-router and angular 1.6.4 with components.
The is the reduced version of the application routes. Each view is associated with a component. topbar, sidebar and ...
0
votes
2
answers
35
views
Refreshing browser web-page not load in ui-router when locationProvider used
When I directly refresh the browser using F5 or directly hitting the url,
page not load but when I click on the button then the page gets load
I am using like this
Enable HTML5Mode using $...
0
votes
0
answers
552
views
Angular JS routing returns "HTTP Error 403.14 - Forbidden" on page refresh
I am using the angular JS for routing between the pages... Everything is working fine when we redirect from one page to another.
But I am getting "HTTP Error 403.14 - Forbidden" error when the page ...