All Questions
Tagged with javascript angularjs
119,528 questions
1
vote
0
answers
44
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
58
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 ...
0
votes
0
answers
54
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 ...
1
vote
1
answer
65
views
How to create Angular mutually exclusive checkboxes and filter
I have 4 checkboxes that filter based on its name/identifierValue. When the page loads ALL should be selected. If I click any other box 'ALL' should deselect and I then filter based on the selection....
1
vote
1
answer
46
views
How to properly filter material table using angular using checkbox
I have a set of data in which is filtering by checkbox. However it only works one time. For example. I have 2 distinct company If I check company it filters and shows two rows and I uncheck it shows ...
2
votes
1
answer
50
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(...
2
votes
1
answer
67
views
How can I automatically format dates according to the OS's locale in Angular without manually setting LOCALE_ID?
I am building an Angular application and want to format dates based on the user's operating system locale (or browser's default language) without manually setting the LOCALE_ID for each case.
While ...
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: "/...
0
votes
0
answers
37
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
95
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
...
1
vote
1
answer
55
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
123
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 ...
0
votes
0
answers
44
views
why is it that #text HTMLElement reference to parent Node sometimes return null
I am getting focused element target with selection API this way below
const target = window.getSelection()?.focusNode;
And when the focusNode is #text HTMLElement, I would want to get the #text Node ...
1
vote
0
answers
21
views
Child rows not displaying correctly in AngularJS
I see an issue when I am trying to add child rows in AngularJS. I have child rows and they are printing in the <pre> tags but not in the child rows.
<table class="table table-hover"...
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
...