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
0answers
18 views

How make it works a function on a single header in AngularJs

I'm working with AngularJs, and i want to use a single header over all my pages. For the pages, i'm using ng-route. Right now, i want to make a test for the logout button (which lives in the header), ...
0
votes
0answers
16 views

how to create wrapper directives for Controller in AngularJS

I'm trying to do upgrade controllers/components written in AngularJS1 to Angular6. I'm taking the approach of having the wrappers for all the existing AngularJS1 controllers/component by extending "...
-2
votes
0answers
9 views

Springboot Jar rest api connection refused with different hosts/server

i have developed a rest api in springboot when i started jar on cmd prompt and try to read it on nodejs (angularjs) it works fine. (basically on same host/machine) But when I deployed it on linux, ...
-1
votes
0answers
21 views

Encrypting communication between between Microservices [on hold]

I am dealing with communication between microservices. Microservice A - Angular6/django Microservice B - NodeJS My Microservice A is in company network and Microservice B is in AWS. we need to ...
0
votes
0answers
23 views

Adding features to GeoJSON with Angular

I want to display locations with properties to a Mapbox map. Therefore I need to use GeoJSON to make this possible. The "var stores" example is static but I need to make it "dynamic", if that's the ...
0
votes
0answers
15 views

How to display these news in angular

Please tell me how to display this my HTML using ngFor. {status: "ok", totalResults: 5993, articles: Array(20)} articles: Array(20) 0: {source: {…}, author: "EUROPA PRESS", title: "La Asociación ...
0
votes
1answer
15 views

Error displaying image using Capacitor and Ionic

I am trying to write a simple Camera app using Ionic 4 and here is my code snippet for capturing the image and displaying it in an Ionic tab. export class UploadPage { yourImage: SafeResourceUrl; ...
0
votes
0answers
8 views

Problem In angularjs With Laravel With it show error angular.js:9509 TypeError: Cannot set property 'box_no' of undefined

Will input any value it show error like angular.js:9509 TypeError: Cannot set property 'box_no' of undefined JS app.controller('awb', ['$http', '$scope', function ($http, $scope, priceFormat, $...
0
votes
0answers
12 views

jQuery cropper implementation

I have a avatar, clicking on which opens a model containing a dropzone to select a new image, a save button, a preview area and a edit button. Further on clicking on the edit button, a new model opens ...
1
vote
1answer
32 views

Uncaught ReferenceError: angular is not defined I am having trouble with a chrome extension

thanks for reading. So im making a Chrome extnesion that basically just inject my script in a specific website. It worked for a bit the just stoppped working and threw me this error: Uncaught ...
0
votes
0answers
16 views

Export and download files using AngularJS: Error about:blank#blocked

I am developing an application using AngularJs and C#, this aplication has a funcionality for export and download a file .xls, but when I click on the button for download the file, the response is "...
0
votes
1answer
25 views

call AngularJS service method based on the response from bootstrap popover

I have a bootstrap popover which has 2 buttons Yes or No. Based on the response from the user i need to call AngularJS service function. How do i do that?? Popover is created only if it meets a ...
-1
votes
0answers
22 views

Dynamically update Google Chart Gauge with value returned as json through a Flask GET Method

I am new to Front End designing. I would like to know how to update the value in the Google Chart gauge dynamically. I have a GET method that retrieves value from a MySQL Database and returns the ...
0
votes
0answers
17 views

Test failed but keep the grunt process alive

I am trying an angularJS hands-on and in which I was expected to create an angularJS application as defined below: Pick2get being main template. Electronics, Books, Wishlist being the partial ...
0
votes
0answers
12 views

Use webpack to load html files in an angularjs or javascript file without using import or require?

imagine I have a file like this with angularjs import exampleTemplate from './example.html'; ExampleRoute.$inject = ['$routeProvider']; function ExampleRoute($routeProvider) { $routeProvider. ...
0
votes
0answers
21 views

AngularJs custom directive does not render after using $compile

I'm trying to get angularjs form validation to work with a span that is added inside a directive when validation is needed. The formName and name of the form element are dynamically created and ...
0
votes
2answers
48 views

How to resolve Javascript error '.then is not a function'?

The following code is fetching csv data from S3 and converting it to JSON. I am getting .then is not a function error on the following. What can be the possible issue? var Papa = require('papaparse');...
-1
votes
2answers
30 views

Returns the average of all values in javascript [on hold]

i am looking to get the average value of the values that are logged in my console i have tried the following guidance but this has not helped Array average and median method but failed to get the ...
0
votes
2answers
30 views

How to use AngularJS $q deferred promises to return data from an async function?

I am having some troubles implementing AngularJS $q to get data from an async function and use it in an outer scope. Basically, I want to make the last line work in the below code. I have seen some ...
0
votes
0answers
17 views

How to manage request & response to appropriate Browser client using web sockets

We are implementing web socket connection. Let us say we have two servers S1 and S2. And client C1. C1 generates a request to S1, and the expectation is that the response has to be served from S1 ...
0
votes
0answers
22 views

How to know controller is closed in angularJS?

My goal is to show a message if user tries to navigate to another page. Is it possible? Can I handle browser tab close event without refresh case? beforeunload or unload events are not triggered ...
0
votes
0answers
20 views

i want to return all zip code with in 5km using angularjs and php (if needed) and plot it on my map

i want to get all zip code with in a specific location where i click i want to do this with angularjs the link below will show the exact demonstration https://www.freemaptools.com/find-indian-...
0
votes
0answers
16 views

How to get response from inline editor of dialogflow in angular js

I am integrating my dialogflow agent with angular js, so I am not able to get data from fulfillment written in the inline editor provided by dialogflow. I have written logics for different intent in ...
0
votes
0answers
11 views

how to access nested document in cloud firestore

I'm trying to retrieve each data from a document using for loop. problem is that the nested doc address is to mess Here are the code used to try accessing the field for(var i = 0; i < 6; i++){ ...
0
votes
0answers
22 views

How to fix java in cmd?

I have an application written in Spring Boot Postgre, Angular and Sol Apache. I launched the program on the Windows server and everything is ok. After some time (each time in a different way), the ...
1
vote
2answers
30 views

How to restrict a .exe.png or renaming .exe file to png file to upload in angular 8

i was accepting only image upload file type JPG,JPEG,PNG,TIFF, but i can upload .exe file format,just by renaming it e.g: dell.exe.png or dell.exe to dell.png
0
votes
0answers
22 views

Import Typescript Files into an AngularJS Application

I have a hybrid application with legacy AngularJS code written in vanilla. Now I want to transform it step by step into Typescript. I am using Angular-Services as well by downgrading them. When I ...
0
votes
1answer
24 views

Ionic Angular - How to replace Special Characters with a Prefix for URI

Im new to Ionic and I have taken up a project from a girl who has recently left my work. I have received a defect that when the user types in “N/A” to search for an order it breaks the URI when ...
-1
votes
2answers
36 views

cannot switch between component in angular

i am trying to switch between two components in my angular app, my aim is to first of all, when the page is still loading the preloader will be displaying till when the pages is fully loaded, then the ...
0
votes
0answers
25 views

Dynamic calculation on html form based on json response

I have generated html form based on json response from server.It contains all types of input fields. Everything is working but i have one problem, if any field is dependent on other fields for eg. BMI ...
0
votes
0answers
12 views

SpringBoot AngularJS webSocket integration

I'm trying to create webSocket on springBoot application. this is config class: @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { ...
0
votes
1answer
22 views

ng-multiselect-dropdown not showing proper result after search

For filter i had added below code $scope.startsWith = function (actual, expected) { var lowerStr = (actual + "").toLowerCase(); return lowerStr.indexOf(expected.toLowerCase()) === 0; } <...
0
votes
0answers
36 views

Why we use custom data properties in ui-router? [on hold]

Why we use custom data property in angular js ui-router? as i was going through custom property in angular js for my development.
0
votes
1answer
38 views

Datatable Integration in MVC

I'm trying to put my table as a datable in .Net MVC application. I'm able to get the data in datatable when I first press on the button as pop up in a modal.But when I try to search/sort or do any ...
0
votes
0answers
37 views

Angular Js how to get checkbox value on edit and submit?

<input type="checkbox" ng-model="mail.email" name="email" ng-true-value="'mail.email'" ng-false-value="'0'"> This is my code while im going to edit i need to fetch the value from ...
0
votes
0answers
29 views

Using Angularjs to send and receive data to/from server

I am taking a computer science course, and currently we are working on a project where we have to build a simple game application. I am working on a tic-tac-toe game where there is a client and a ...
1
vote
1answer
31 views

AngularJS controller not properly loaded during ng-Route otherwise()

I'm learning an example of a single page application using angularjs. Here's the relevant code: index.html <!DOCTYPE html> <html ng-app="app"> <head> <link rel="stylesheet" ...
0
votes
0answers
29 views

Problem with module registration in asp.net mvc + angularJs

I found one post on stack where this problem was discussed, but all solutions from there didn't worked for me. Anyway, the problem is that, I can't create proper angular module. Whenever I m assigning ...
1
vote
1answer
26 views

Is there a way to configure ng-bind-html that it renders a string like '</'?

it seems ng-bind-html is rendering '</' like a close tag, so it has been sanitized, and the string has pass through, but it renders as close tag in html, which means nothing shows. for example, 'I ...
0
votes
1answer
25 views

AngularJS XSS in <input> field

I have an AngularJS app (Angular version 1.6.4) that uses an input field to bind an URL (that can be changed by the user) to a model. Here is how it looks like: <input ng-model="...
0
votes
0answers
10 views

ngQuickDate showing Korean characters on date range

I'm using ngQuickDate in my angularJS application. When I pick an absolute date range, I see Korean characters instead of A.M or P.M. I'm not sure where these characters are coming from. I'm also ...
0
votes
0answers
21 views

Angular js callback function for ios webkit webview to send

Expose an AngularJS Controller call back function so that ios WKWebView can call it using javascript evaluate. I have tried assigning scope and window to a function to be made global but that does ...
0
votes
0answers
25 views

Show autocomplete dropdown at first click in AngularJS Material

I have an md-autocomplete component from AngularJS Material and it does not show the dropdown with the options after first click in the input, as it is supposed to shown. It shows the full list of ...
0
votes
1answer
30 views

Does AngularJS deep-watch object bindings in templates?

I am currently rewriting the file tree in an AngularJS application. The way the file tree is implemented in the back consists of FileInfos, DirectoryInfos, and DirectoryEntrys. Essentially files and ...
0
votes
1answer
26 views

Http Post Angularjs causing internal server error via Web API

I am having a simple http post insert operation from angularjs via web API. But I dont know why I keep getting internal server error. http GET functions are working fine. But for the http post, the ...
0
votes
1answer
27 views

Sorting big tables with AngularJS

I want to sort a table where the header and content are retrieved with ng-repeat. When I click on a header item, I want that column to be sorted alphabetically. But I am not sure how I can get this ...
0
votes
0answers
18 views

What should be the approach to migrate AngularJS sub-app to existing ReactJS sub-app?

I am learning ReactJS and maybe this project will help me out to learn and practice it on a higher level. So currently, I am working on a Big App which has three sub-apps: ASP.NET AngularJS(1.x) [...
0
votes
0answers
15 views

No audio for 2nd & subsequent calls using Opentok in iOS

We have a video chat single page application developed in AngularJS that connects Callers with Receivers using OpenTok (Tokbox). Receivers must use computers but Callers can use iOS or Android devices....
0
votes
0answers
26 views

click image base64 save file angularjs

Hello i want once click image base64 save to local file in my post with angular js Here's code: <img ng-src="data:image/bmp;base64,{{monProfilService.arrayBufferToBase64(serviceSup.service....
0
votes
0answers
20 views

The value in URL and QUERYPARAMETRS are different [duplicate]

I have a service which takes the parameters as follows, http://www.testing/api/getData?search=table%2520tennis But when I see the query parameters in the network,it is something like as follows, ...