All Questions
Tagged with angularjs angularjs-directive
16,697 questions
0
votes
3
answers
55
views
New @for Directive in Angular – Dynamic Array Issue
I'm creating a dynamic FormArray within a FormGroup. The only change I've made is switching from *ngFor to the new @for. The issue occurs when I try to remove an element from the FormArray.
Previously,...
0
votes
0
answers
21
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 ...
0
votes
0
answers
36
views
I am using search box to search for books in my library management system app built using angular
On the navbar I have a search box for searching books in the app, I am using search button for it so as to show results only when search is clicked. But after the search you have to manually clear the ...
0
votes
0
answers
36
views
AngularFire: No Provider for Firebase Options Error Using APP_INITIALIZER with AWS Secrets Manager
I'm trying to initialize Firebase in my Angular application by fetching the Firebase config from AWS Secrets Manager before the application starts. I've set up the initialization using APP_INITIALIZER ...
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 &...
3
votes
1
answer
50
views
ui-select filtering only one field
I'm working on an AngularJS application and I'm using ui-select to allow users to select multiple roles and tabs. The filtering works perfectly for the tabs, but for some reason, it's not working for ...
0
votes
0
answers
32
views
how to reinitial media stream that stopped before?
I wanted to disappear the red recorder indicator so I used service.$html5AudioProps.mediaStream.getTracks().forEach(track => track.stop()); In my stop recording method but then when I start record ...
0
votes
1
answer
77
views
How to convert base64format to the word document preview in angular [closed]
Does in angular do we have any library ?
i was looking for some examples but i didn't found any.
I have found a library ngx-doc-viewer it has a url but i have base64 which i need to transform to word ...
0
votes
0
answers
13
views
AngularJS: Unable to Display Found Items in Search Functionality
I'm working on an AngularJS project where I have implemented a search functionality to filter menu items based on a user-entered search term. However, I'm encountering an issue where the found items ...
1
vote
1
answer
34
views
Angular write a common function for multiple selected options
Can you sugguest how to common function for both two selected option by event
$scope.selectionOpt = function($event){
alert($event.target.value);
}
<form>
<...
1
vote
1
answer
47
views
Why the ng-pristine class in AngularJS form always returns true
Why the ng-pristine class in AngularJS form always returns true.
enter a value in the input field and click the button, it does not return false, it returns true.
test.html
<div ng-app="...
0
votes
0
answers
103
views
CanActivateFn get hit but same appcomponent get hit too. standalone. angular
My environment as ng 17.1.13, node 19.9.0, npm 9.6.3. Standalone application.
My app.routes.ts
import { Routes } from '@angular/router';
import { AppComponent } from './app.component';
import { ...
0
votes
0
answers
22
views
ng-click does not modify array
I have a problem with an old AngularJS APP where I have to manage selection.
basically I am trying to modify the array of selectedItems with ng-click
but it does not react to changes to the array, it ...
1
vote
1
answer
144
views
how to perform action on double click on a button using Angular JS
Using this I am checking for a right click on my button. How can I check for a double click on my button?
app.directive('rightClick', function ($parse, $mdMenu) {
return function (scope, element, ...
0
votes
1
answer
64
views
How to populate dropdown with its previous value?
We have a dropdown which had 3 values, out of which one value is removed now, so two values are left for the user to select now. But if the user searches an item which has that value in the dropdown ...