261,642 questions
0
votes
0
answers
21
views
How to maintain ui-grid pagination state in AngularJS when navigating between pages?
I’m working on an AngularJS (1.x) application that uses ui-grid with pagination.
I want to maintain the current pagination state (current page and page size) when navigating between views — for ...
-1
votes
0
answers
34
views
ng-cloak stuck in hidden state
ok, so in a really old angular-js app I am working on, there is a div looking like this
<div ng-cloak>
The context seems fine and it should work.
However when running the app i dev mode (with ...
0
votes
0
answers
39
views
Uncaught Error: [$injector:modulerr] received while attempting to run angular app
I receive the following error "Uncaught Error: [$injector:modulerr]" while running the following app. The code is designed to submit the data received to a SharePoint list when the submit ...
-1
votes
1
answer
64
views
Data from html disappears and doesn't not post using rest api call. When submit button is selected the form clears and data is not submitted
I have a basic HTML form that submits data to a SharePoint list. There are no errors in the code, nor do I receive anything that would cause the form not to submit to the SharePoint list. I am using ...
0
votes
0
answers
39
views
AngularJS + Compass project fails to run locally on Windows (grunt dev / SCSS )
I’m trying to run an old AngularJS project locally on Windows 11. The project uses:
SCSS with Compass
Pug templates
Grunt tasks (grunt dev / grunt build)
Node.js + Bower
According to the README, I ...
0
votes
2
answers
35
views
how to align a table column to right using PDF MAKE
I created an UI to export angularjs grid to PDF using PDF Make, it was succeeded, but I want align only two columns to right in the table. I used below code for that,
exporterPdfCustomFormatter: ...
0
votes
0
answers
150
views
Conflict between lodash.js and underscore.js
I am working on integrating a plugin into my application which resulted in lodash.js and underscore.js conflict. I have underscore.js implemented in my entire application and this plugin which I am ...
0
votes
0
answers
52
views
Recaptcha doesn't load (for some devs) in chrome, does in edge, in ASP.NET/Framework site
I work on an old .NET Framework 4.8 site serving angularjs. We load recaptcha in a script tag (as opposed to bundle.js). The render query value is replaced with what I am assuming is our key, which I ...
0
votes
0
answers
45
views
In my Blazor Server application, how can I setup a control property like angular's "ng-if" that I can apply to any html tag?
I'm currently building a Blazor Server application, and migrating code from an old AngularJs / ASP.NET MVC website. Part of that migration includes translating the html in the Angular pages into C# in ...
0
votes
2
answers
156
views
Make ng-container work inside a HTML table
The ng-container does not work with ng-repeat inside a table.
This is my code.
<tbody>
<tr>
<ng-container style="border-bottom: 5px solid black" ng-repeat="...
1
vote
1
answer
53
views
Custom widget for visualizing dynamic table data
While creating a custom widget for visualizing dynamic table data, I encountered some issues and would like to share a minimal working example to illustrate the problem.
JS:
self.ctx.$scope.showAlert =...
0
votes
0
answers
45
views
Angular - how to display the selected's label of dropdown on the md-table when data is bind
The md-table is bind to data assets where application_id is an integer.
The dropdown is populated with possible values with:
Value = application_id, Label = application_name
The table is editable ...
0
votes
0
answers
64
views
Angular 18 subresource integrity using an incorrect hash
I am working to upgrade an old code base from Angular 9 to Angular 18 for work. Subresource integrity was added while still on v8 and was working fine, however now that the code can compile and run in ...
0
votes
0
answers
135
views
Black screen when using Barcode Scanner mlkit in the Value/Capacitor modal window, despite the permissions in vue 3
I'm tried to convert angular app to vue 3, but i get some problems. There are:
black window while i call startScan() but android says that camera in using and all permissions allowed
function scan() ...
0
votes
0
answers
20
views
typeahead - ng-model vs selected object
I use AngularJS an typeahead.
My simple question is how can I get the selected object in selectTraining(...)
ngModel must be training.topic
<input
type="text"
class="form-...
2
votes
0
answers
107
views
Google Maps types are outdated while updating google.maps.places.Autocomplete to google.maps.places.PlaceAutocompleteElement
I am using google.maps.places.Autocomplete in my project, as you can see, and getting a warning:
"js?key=YOUR_API_KEY&libraries=drawing,geometry,places:83
As of March 1st, 2025, google.maps....
0
votes
2
answers
52
views
Angular Hybrid: Error: [$injector:unpr] Unknown provider: eProvider <- e <- inputDirective with optimization enabled
I have migrated am AngularJS application to an hybrid AngularJS/Angular 17 application and got it working fine in dev and prod until I tried to enable the optimization from the angular.json file.
I ...
1
vote
1
answer
132
views
How to show BeforeUnload alert from SPA?
I am using AngularJS SPA and trying to alert users when they are about to navigate away from active form.
There are 2 parts for this:
User closes active tab
User clicks internal link to navigate
So ...
0
votes
0
answers
86
views
Mind the gap! Why are there spaces in the output?
I'm using bootstrap to try and format output where some elements may be hidden into a table-like output without leaving empty gaps where items are hidden.
It's an old-school AngularJS application and ...
-1
votes
1
answer
56
views
I am engaging with Capstone project - prepare online learning system for student and teacher logging
I created my capstone project frontend with Angular.js, and the backend with Node.js and Express. The database was created by sqlite3. I want to update the files in the GitHub repository and use ...
0
votes
1
answer
43
views
Dir-pagination, start and end, how it's work?
I have this table.
<table class="table table-hover table-sm" ng-if="userRole=='admin'">
<thead>
<tr&...
0
votes
1
answer
31
views
Creating a data picker component that behaves like a drop-down
I need to create a data picker that allows a user to select data but in a different way than a classic drop-down.
So, I have the following template:
<div class="data-picker" ng-class=&...
0
votes
0
answers
25
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 ...
1
vote
0
answers
61
views
How can I fix the slot ng-repeat so it will display the areas for the selected block?
I am trying to display the areas for the selected block, the wizardStep is the parent controller and the optionSelector is the child controller. I am sending the selected name and value of the ...
0
votes
1
answer
65
views
Getting unsupported media type error when sending a file to an endpoint in spring
I am trying to test my file converter using postman and a input button in angular but am receiving a content type error. i have this endpoint that is supposed to capture the file and user. Whenever i ...
0
votes
1
answer
68
views
How to convert a simple select to use AngularJS data array?
I have an old system which needs a bit of a tweak. All works as I expect when I have some AngularJS declarations and plain HTML/JavaScript. Current code is:
<div ng-controller="myController as ...
-1
votes
1
answer
45
views
My AngularJS/HTML <script src> tag syntax isn't correct
I've tried these tags separately in my AngularJS/HTML course. The first and second are the instructor's script tags from his presentation setup. The third and fourth tags refer to my computer. His app....
0
votes
0
answers
69
views
ng-repeat disable other repeated HTML Attribute
I am using "ng-repeat" to display 3 elements => Radio buttons- Yes/No, "Save" & "Cancel" buttons.
Objective of this question is to Enable only 1 HTML Attribute at ...
0
votes
0
answers
36
views
Angular migration from 1.2 to 1.8 issue
I'm new to Angular and I got the task to migrate an old application using Angular 1.2 to Angular 1.8, I'have been able to solve most of the issues except for this one, as you can see in the following ...
1
vote
2
answers
54
views
ChartJS to show image on y-axis
This is part of chart code. I am trying to show the image on the yaxis. My first problem is that the img.onload does not hit because It does not set the width and height. 2nd it just show [Object ...
0
votes
1
answer
42
views
How can I hide a column on a Kendo grid based on an input parameter?
I want to hide this column from a Kendo grid when the set the reportType input parameter to NTR. How can I do that?
{
field: "SrNo",
title: "Grounds of Suspicion",
...
1
vote
0
answers
50
views
Highcharts - Memory increasing when redrawing charts
I have an angularjs application that is running on electron.
I have created 4 chart components and have initialized them during application startup. I have also synchronized their tools tips during ...
-1
votes
1
answer
50
views
Angular CdkDropList with display: none does not recognise cdkDropListDropped event
I'm have an issue trying to move an item to a cdkDropList which i change from display : none to display : block.
I have two lists - the #firsstList allows elements to be moved to #secondList but not ...
0
votes
1
answer
31
views
Set background color of table column with AngularJS
I would like to set the background color of a table column with AngularJS.
I found an example without AngularJS:
$('td').hover(function() {
var t = parseInt($(this).index()) + 1;
$('td:nth-...
0
votes
1
answer
20
views
AngularJs + ASP.NET MVC 5 - Handle BE redirection (HTTP code 302)
In my ASP.NET MVC 5 I use also AngularJS and my stateProvider contains also these nested states:
$stateProvider
.state("data",
{
url: "/data",
templateUrl: "Template/...
2
votes
1
answer
55
views
unable to read a file from angular and pass it to API built using java
I have application where I am using angular. Input a csv file and add the file to form.
below is the code used
var fileInput = document.getElementById('chosenFile');
var fd = new FormData();
fd.append(...
0
votes
0
answers
45
views
Problem in Angular with mismatched types: Type 'string' is not assignable to type 'undefined'.ts(2322)
I have a problem creating a client because it doesn't give me the ID because of the error I show in the title.I have tried many ways and it still doesn't work for me.I don't know if it has to do with ...
1
vote
0
answers
17
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 ...
2
votes
2
answers
137
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: "/...
0
votes
0
answers
111
views
Service worker cache update issue - EDGE browser - sw-precache
I'm working on an AngularJS application where we have implemented offline capability using Service Worker Caching (using sw-precache). Once the user loads the page, all the assets (configured in sw....
0
votes
1
answer
49
views
html5mode does not remove hashbang mode in angularjs
I am trying to create an SPA in AngularJS using ngRoute. To do so, I have enabled HTML5 mode to remove the # from the URL. However, when I navigate to a different route (e.g., /about or /contact), the ...
0
votes
0
answers
238
views
PrimeNgFreeLicense- My custom theme(preset) not working properly
app.config.ts file
import { provideHttpClient, withFetch } from '@angular/common/http';
import { ApplicationConfig } from '@angular/core';
import { provideAnimationsAsync } from '@angular/platform-...
0
votes
0
answers
44
views
Uploading files via angularJs in Umbraco Backoffice media folder
I am using Umbraco and .net core app, to upload files via angularJs in the backoffice this working fine, but now I need to upload images to the media section of the umbraco.
vm.uploadFile = function ()...
2
votes
2
answers
103
views
AngularJs API post file to the .net core app endpoint file parameter is null
I am using ald angularJs and trying upload file and do API call, API is a .net core app, I can see request using breakpoint in the API but parameter is comes null always.
here is the angularJs code
...
0
votes
0
answers
18
views
IntelliJ causes endless redeploy loop with grunt
I am using IntelliJ to develop and angularjs project that uses grunt to deploy, start the application and watch for changes. Sometimes after I create a new html file grunt starts seeing an endless ...
0
votes
1
answer
343
views
Spinning up Angular app with ASP.NET Core Web API on the same port using UseSpa library
I'll appreciate some assistance debugging my code to know what I am missing or doing wrong.
Please feel free to review related code at my git repository at this link https://github.com/slim1477/slim-...
1
vote
0
answers
32
views
Accessing public property front Angular Wrapper inside wrapped React component
I am adding enhancements to an application that was originally developed in AngularJS. It was requested that I write the enhancements in ReactJS, so the new React components are located inside of an ...
0
votes
1
answer
86
views
TypeError: Cannot read properties of undefined in angular JS application
I have created an angular JS app , basically i am trying to upload a file . The page gives an option to select CSV. then there is upload button. Once click it will call java function and upload the ...
-3
votes
1
answer
367
views
Facing too much delay in microsoft-cognitiveservices-speech-sdk speech to text
I'm using the Azure AI Speech Service for speech-to-text functionality with the Microsoft Cognitive Services Speech SDK in Angular. However, I'm experiencing a significant delay in receiving the ...
1
vote
1
answer
77
views
$http post fails with 500 when moved to IIS server
I have a website, it is a bit old and it is using AngularJS.
It is calling an API that is part of the same ASP.NET project.
When tested locally with VS it works just fine, all calls are satisfied.
...