Questions tagged [angularjs]

Use for questions about AngularJS (1.x), the open-source JavaScript framework. Do NOT use this tag for Angular 2 or later versions; instead, use the [angular] tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Cannot find name 'NDEFReader' in Angular 9

I'm trying to integrate WebNFC in my angular project, I found only package is @types/w3c-web-nfc but when I run application it shows me the error mentioned below: error TS2304: Cannot find name '...
Hassan Khan's user avatar
0 votes
0 answers
11 views

Bind scope function to output event in angular hybrid application

I am using angular hybrid application. I have a directive created in angular js. It has a scope method called onUpdateStatusCompleted. The directive has an angular js component inside it. The link ...
sms's user avatar
  • 426
0 votes
0 answers
6 views

angularjs element attaches to DOM only on first page entry, but not on page refresh/re-entry

In my cordova/ionic app, in one page view button opens a modal and an ng-repeat generates the DOM elements. After the ng-repeat attaches all the new DOM elements, then I am cloning a hidden DIV and ...
rolinger's user avatar
  • 2,892
0 votes
0 answers
84 views

Data path "" must have required property 'browserTarget'

I can't run my ionic serve because of this problem, Error_Screen_Shot Error: Schema validation failed with the following errors: [ng] Data path "" must have required property browserTarget....
Torres Clarizza DL's user avatar
0 votes
0 answers
10 views

How do I create an entry point for my webpack.config.js in Angualr js

I am trying to upgrade an Angular js project from using grunt to making use of webpack. I created a webpack configuration and tried to run the application with webpack. I don't get any errors durig ...
stevens's user avatar
0 votes
1 answer
55 views

Angular PUT Request Issue - "Required request body is missing"

I am facing an issue with an Angular application where I am trying to send a PUT request to my server, but I'm getting the error message "Required request body is missing." Below is the ...
ameni Saada's user avatar
0 votes
0 answers
12 views

AngularJS (1.5.0) nested ng-repeat with radio button not initializing checked properly

I use a dynamic name attribute technique. I'm using AngularJS verison 1.5.0. When I run this AngularJS example (code below), which has nested ng-repeats (so I use $index and $parent.$index), I expect ...
Nate Anderson's user avatar
0 votes
0 answers
11 views

Front-end AngularJS alternative library for an existing SSR (Server-side Rendering) Apps using ASP.NET Core MVC

Since AngularJS is no longer have public maintenance and support, is there any new front-end library alternative to AngularJS for an existing SSR (Server-side Rendering) Apps using ASP.NET Core MVC? I ...
Darius Iko's user avatar
0 votes
0 answers
15 views

Canvas redraw does not happen after leaving and returning to a page view

I am creating ticket qrcodes on the fly and attaching them to an ng-repeat in a modal when a user clicks a button to open the modal. It works. If the modal stays open, then every 5 minutes the ...
rolinger's user avatar
  • 2,892
0 votes
1 answer
33 views

Prevent div in flexbox from changing width with additional content

Hi I have this web page where I have a list of angular.js directive elements that are strucured in a flexbox. The directive elements look something like this: <div class="variable-input-...
Sigmarod's user avatar
1 vote
0 answers
15 views

What is date-target-input= "nearest"?

<div style="display:flex;"> <div id="{{ 'postStartDate' + $index }}" class="col input-group date pl-0 pr-0" data-target-input="nearest" style="...
daoony's user avatar
  • 11
0 votes
0 answers
22 views

Gap is present in span in Angular but not in AngularJS

There are 2 equivalent component templates one written in old Angular: <span ng-repeat="status in statusInformation.statusList | filter : whereFilter" class="show-on-hover"...
Joe D's user avatar
  • 74
1 vote
2 answers
42 views

How to Cut a String in AngularJs

I have the phrases: "Shiloh Match Jolie", "Zahara Marley Novel", "Pax Dix Bat", "Maddox Chivan Jcalie" I want to get all last character in phrases: "...
Van Pham's user avatar
  • 117
0 votes
0 answers
8 views

Issue with AngularJS Base Controller and Modal Service Interaction

I am encountering a problem with my AngularJS base controller, specifically in its interaction with a function named closeMyModal provided by my ModalService. Initially, the base controller ...
hiba mansour's user avatar
1 vote
0 answers
13 views

cordova app issues with page caching options

I have run into a problem with cordova page caching: .state('tab.clubs', { cache: true, url: '/clubs', params: tabParams, views: { 'tab-clubs': { templateUrl: '...
rolinger's user avatar
  • 2,892
0 votes
0 answers
11 views

how to manage rest API timeouts in a mobile app?

I am looking for methods and best practice concepts for managing app API timeouts. My app communicates to my server API - and on occasion there are timeouts with Status: -1 being reported via my app ...
rolinger's user avatar
  • 2,892
0 votes
0 answers
11 views

CSS files are can't resolve in Migration of Angular JS 1.7 and Angular 17 hybrid model application

[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve css in directoty\src folder Webpack version is 5.89.0 I am expecting the correct syntax of loading CSS, JS and TS files from ...
Ramakrishna's user avatar
0 votes
0 answers
19 views

Text sanitization is AngularJS 1.8.3

I have a sample text string (shown below) that contains html tags : SAMPLE_TEXT= "<b>This is bold Text</b>" This text is rendered on the UI using ng-bind-html <span ng-bind-...
ScrapCode's user avatar
  • 2,127
0 votes
1 answer
37 views

Display tooltip only when visible text ends with "..."

I have a table with 5 columns and more than a thousand lines. I will only be talking about 1 column and copy the code to the others if someone here can help me to make it work. Depending on the length ...
Quentin's user avatar
  • 65
0 votes
0 answers
7 views

Error occurs in the template of component CategoryListComponent

Error: src/app/features/category/category-list/category-list.component.html:11:22 - error TS2339: Property 'categories' does not exist on type 'CategoryListComponent'. 11 <ng-container *ngIf="...
Chukwudi Innocent's user avatar
-1 votes
0 answers
26 views

Cookie is removed in API Response but not from browser Angular JS

I am working on hybrid angular application using Angular 8 and AngularJS. I am trying to set httpOlny cookie in browser after login using POST api and remove the cookies using DELETE api from the ...
Mohit Kumar Sharma's user avatar
0 votes
0 answers
12 views

Angular applications, express.js server, sending an email via form on the front-end side

Error sending message: Object { headers: {…}, status: 500, statusText: "Internal Server Error", url: "http://localhost:3000/invia-email", ok: false, name: "HttpErrorResponse&...
Manuel Magi's user avatar
0 votes
0 answers
29 views

Nested transclude within Web Component (AngularElement)

I am trying to mix up Angular and AngularJS using AngularElement I know about ngUpgrade, and I do not want to use it The basic idea is to replace some AngularJS components progressively without ...
Benoit Verhaeghe's user avatar
0 votes
0 answers
27 views

Is there any Angular Code quality analysis tool [closed]

Is there any source code analysis tool that can detect security flaws and angular code quality increment using visual-studio ? Thank you in advance I appreciate your help!
Satheeshkumar Govindaraj's user avatar
0 votes
0 answers
24 views

AngularJS 7 to new Angular Version [closed]

Is it okay to upgrade my angularJS version 7 to the new ANGULAR? I am a VueJS developer and I want rewrite the project from angularJS to VueJS with Quasar Framework.. Any advice? From AngularJs to New ...
Mister A's user avatar
1 vote
0 answers
24 views

Alternative to toPromise with downgradeInjectable

A service I've written in Angular is being consumed in a third party angularJS application. My pattern has been: create a service method which returns Observable<someType> and then create a ...
minifier's user avatar
0 votes
0 answers
12 views

How to integrate MSAL library from scratch with Angular js 1.x application

We build our application based on AngularJS v1.8.2 and Java as a backend. Currently we have used keyclock for MFA. We have implemented everything from the backend. Now we have to replace keycloak with ...
Ranjan Singh's user avatar
-2 votes
0 answers
13 views

I want to Drop Dropdown Which i m getting from API to DropZone of another component

Div1 ClientName: {{ classItem }} Div2 Div3 <...
ShahidKhan's user avatar
1 vote
0 answers
41 views

How to place the text above the table when exporting excel?

I exported an excel file and I want that this text is in above the table. How to do that? Here is the angular js code: $scope.generateLedger = (supplier_id) => { $http({ method: ...
Michael Carmona's user avatar
0 votes
0 answers
19 views

How do I create an Angular Project using the CLI that uses Pug3?

I created a project using the following... ng new my-app cd my-app npx ng add ng-cli-pug-loader But I get .../my-app on branch main > npx ng add ng-cli-pug-loader npm WARN cli npm v10.2.3 does not ...
Jackie's user avatar
  • 22.3k
0 votes
1 answer
9 views

ng build issue: Error: Unknown argument: base-href/

Issue Image The above error is what i have issued when i was trying to build the angular project for external hosting, using the ng build command, anyone faced this issue ? Tying to run the ng build ...
akhil pragallapati's user avatar
-1 votes
0 answers
24 views

Want to force user to share only entire Screen from browser, window and entire screen options [closed]

I want anyhow to restrict user to share window or browser tab while sharing the screen from get Display Media. Case Scenarios: Case 1: Setting Constraints for Screen Sharing Issue: Applying ...
Deeksha Agrawal's user avatar
1 vote
1 answer
46 views

Bootstrap 5.x Tooltips Not Working Inside an AngularJS Controller

If I may borrow some talk-radio vernacular, "Long time listener; first time caller." I have been trying for a few days to add some tooltips to my site and really like the look and feel of ...
dbq-andersons's user avatar
-1 votes
1 answer
17 views

Jest: ReferenceError: uuid is not defined

When I am testing an angularjs directive using jest, in directive compile, I have used uuid.v4() to generate id for directive, there will be an error when I test this directive, "ReferenceError: ...
Etienne-qwer's user avatar
1 vote
0 answers
55 views

Why form submit with redirect doesn't work?

I have this piece of code in angular 16: <div class="position-absolute top-50 start-50 translate-middle"> <div class="text-center"> <img id="logo" src=...
Edoardo's user avatar
  • 25
0 votes
1 answer
66 views

Cookie is set in Response Header but not in browser

I am working on a hybrid angular application using angularja and angular 8. I am trying to implement a cookie that needs to get set after login using POST request but the problem is that after login, ...
Mohit Kumar Sharma's user avatar
0 votes
0 answers
18 views

Why agora.io video call steam not working in the Nebular theme?

In my application there is an video call stream. it is finely working without nebular theme. but with nebular theme it not conneted to the video call steam. what can be caused? This is the i am ...
Sanju Hashintha's user avatar
0 votes
0 answers
9 views

How to dockrize angular js project with separeted google tag for DEV and PROD?

I have an Angular JS project. I am first building the docker image and deploying it into Kubernetes. I want to use a separate Google Tag Manager for DEV and PROD. How can I achieve it? I have tried ...
itsmemrinmoy's user avatar
0 votes
0 answers
38 views

Angular code is not reading a JSON array correctly when it did previously

We have a service which returns a JSON array as follows: { "data" : [{ "time" : "2023-11-16T18:55:00.0000000Z", "value" : "638356352165652595" }] } ...
Ian Hannah's user avatar
0 votes
0 answers
12 views

AngularJS How to enable copy&paste operations on Input element of type="date"?

I should let the user to copy and paste into <input type="date"> or <input type="datetime-local"> HTML part: <input type="date" id="dateId" ng-...
Sara's user avatar
  • 1
0 votes
0 answers
20 views

ng-pattern change the model to undefined instead of leaving it and not allowing submit

Hey it's my first time with angular, I wish to have an input with pattern validation, Soo, I've added this input to my form: <input type="text" id="id" name="...
noer's user avatar
  • 35
0 votes
1 answer
36 views

function inside async returning as undefined: Angular

I am trying to subscribe to an API call using SSE, addAsArray(message){ array.push(message) } calling of SSE: let src = fetchEventSource('api link', { method: 'POST', ... async onmessage(e){ if(...
user3774763's user avatar
0 votes
1 answer
41 views

Checkbox value not changing when use ng-if instead ng-show

im making a checkbox thats only available to users with the pro mode. Im using the 'ng-if' condition to show the checkbox only for pro users. View.htm <li ng-if="pro"> <input ...
Muhamad Fauzan's user avatar
0 votes
0 answers
11 views

How to have 301 response on angularjs SPA - dotnet

Im seeing 301 response on network tab but on wheregoes or any SEO redirect tools, im getting 200 response. Any idea how to trick SEO tools to have 301 redirect response? Controller [HttpGet] [Route(&...
Franco Neil Glovasa's user avatar
0 votes
0 answers
10 views

I am facing a problem trying to use joyride and trying to navigate to different pages ,

I am able to route to different page over here but i am not able to get tour card once I navigate to next page async opentour() { await this.joyrideService .startTour( { themeColor: "#00000",...
Nithin 's user avatar
0 votes
1 answer
48 views

Google Ignoring User Selected Canonical URL causing pages to not be served on Google

I am looking for some advice and guidance on an issue I am having with Google Search indexing and Canonical URLs. Background: We have a website for Quest Apartment Hotels built on a Sitefinity CMS, ...
Brayden de Koning's user avatar
0 votes
1 answer
23 views

AngularJs: how to send data to an HTML popup and list it

Experienced people I am unable to send the information to my html below is the file abcController.js: $scope.openSituationWorkflow = function () { var id = $scope.data.id ; var EventWorkflow = [&...
Luis Marcelo Santos's user avatar
-2 votes
0 answers
36 views

ABP framework can't loading first page

My application create from ABP(v 0.7.7.1). Sometime I found problem when user login and loading first page application will loading first page for long long time (try to load header and side bar). ...
tangmonie's user avatar
0 votes
0 answers
27 views

Cross Field Validation for password not invoked/working

Clearly password and confirmPassword don,t match but still no error is being shownISSUE: creating a password validator to cross check with confirm password if it does not matches(as shown in ...
Shuvam Basak's user avatar
-1 votes
0 answers
11 views

define is not defined in angularJs

i am using "define" keyword in app.js file in angularJs as below: define(['require'], function (require) { ......... ......... } i add require.js and include in html file and this file(...
ziba amri's user avatar

1
2 3 4 5
5256