AngularJS (a.k.a. AngularJS 1) is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever (MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of applications are also frequently known as ...

learn more… | top users | synonyms (2)

0
votes
0answers
11 views

text position is changing when exported data in pdf

i am creating a web app using angularjs, when i export the data into pdf, all the text position changed for example <span style="font-size:20px; position:fixed; right:0;">{{empname}}</...
0
votes
0answers
6 views

why you still need usual angular dependencies when you use typedefinitions?

I'm trying to move move angular1.5 project to use typescript. My project compiled with webpack. I noticed that although i included angular typedefinitions inside package.json "@types/angular": "~1.5....
0
votes
1answer
9 views

Change cell color angularjs and ui-grid

I have a ui-grid containing two columns id and name. I set the background-color to blue on the first column (id). If i click on the name header column i want to change the name column to blue and the ...
-1
votes
0answers
11 views

angular can not used {{}}

<html> <body> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"> </script> <div id="page-wrapper"> <div class="row" ng-app="...
0
votes
0answers
6 views

Custom component not loading in ig-grid column template

I'm trying to use custom made component in ig-grid column template. Component is rendered correctly in Html, but it never reaches component's constructor. How is it possible to use custom component in ...
0
votes
2answers
7 views

Data strangely synchronized between viewmodel and $sessionStorage

I am storing a list of objects in the $sessionStorage. Then in one of my controllers I get the value of that list and display it on the page and the user can delete its items. The problem is, that ...
1
vote
0answers
15 views

Set Scope in Angular-Charts.js after rendering

Hi im currently trying to show multiple charts with angular-charts.js framework. My problem is that i need the same scale on each chart. At the moment each chart has its own scale based upon the data ...
0
votes
0answers
6 views

Ag-grid: viewport not loading data

This is the part 2 of this question: Ag-grid viewport: cannot read property 'bind' of undefined I correctly defined all the functions requested by viewport interface, but I'm not able to load ...
-2
votes
0answers
15 views

How to fetch Excel data into JSON and than display it into Angular?

Excel to Angular via JSON and youtube videos processes are not working
0
votes
0answers
12 views

How to fairly distribute processing logic between front and back?

One of the choices we need to make when dealing with SPA (single page applciations) is to decide which processing logic goes on front (Angular, React, .....) or back (RESTfull API). I tend to do all ...
-3
votes
2answers
42 views

Proper array structure [on hold]

Commonly, arrays are formed like var array = ["some","string","elements"] or var array = [1, 2, 3]. Been searching for times, but I haven't seen articles that may clear my mind. Now, is it possible to ...
0
votes
0answers
12 views

Javascript clean window.postMessage after browser going back

I'm communicating an iframe with an angular controller using window.postMessage function https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#The_dispatched_event The JS that is inside ...
2
votes
1answer
17 views

Route change events while trying to avoid using $rootScope

As the Angular team (and severals blogs) adviced, I try to avoid using $rootScope as possible in my apps. $rootScope exists, but it can be used for evil "Of course, global state sucks and you ...
0
votes
0answers
15 views

Client not receiving new message sent from Controller after save

I have a project generated with jhipster 3.12.2 and I'm trying to send an Alarm message through websockets from my controller after I have saved it to the db. The RestController can be called from ...
0
votes
0answers
3 views

How to retain video call even after browser refresh in kurento one to one video call?

I am using kurento one to one for video calling in my website, I am facing an issue with call disconnection on page refresh also i am using angular js in my web application when i go from one route to ...
0
votes
0answers
19 views

Send large number of files to back end Django

I have a requirement that i need to upload large number of files using <input type="file" ng-file-model="files" id="id_docfile" multiple> and after that it should be sent to the django ...
-1
votes
0answers
18 views

How to Re-Engineer AngularJS & PHP to Laravel framework?

I got an AngularJS and PHP project, and have to Re-Engineer it to Laravel framework. What will the necessary steps taken for this task?
0
votes
0answers
12 views

i am sending request from angluarjs to Codeigniter (mobile to php server) but the response had HTTP status code 404

angular.module('Login').controller('loginControler', function ($scope,$http,$window) { $scope.login = function () { $scope.isRequestSent=true; $scope.reponseErrorMessage = false; var request = $http(...
0
votes
0answers
23 views

Angular JS UI-Router Reload on Same Page Issue and Open Link in New Tab

I have a Navbar in my Main Page.Whenever I right click on any link (exp:Add Company) and open it in New Tab, it shows the dashboard page in new tab and also when i am on Add Company or Update Company ...
0
votes
1answer
19 views

error in using jspdf to export data

I am creating a web app in angularJS with asp.net, here i want to export data into pdf file but i am unable to get i saw a working example on stackoverflow Click Here and i created a jsfiddle for ...
0
votes
4answers
29 views

AngularJS display json by directive

I have little problem with AngularJS, I wanted to make directive to display json imported from other website, directive working, but it doesnt show anything from angular binds(when i was using this ...
1
vote
2answers
30 views

AngularJs: Implemented IIFE in using ui router

I'm trying to implement iife and this style to seperate my files in angularjs so I have config.js that will use ui.router that was implemented this way //config.js (function (module) { "use ...
0
votes
2answers
22 views

ng-src for local images

I have an AngularJS project and I am trying to show an image from local folder. My folder hierarchy is like this: --app(folder) -----controllers(folder) -----services(folder) -----views(folder) -----...
0
votes
0answers
28 views

AngularJS ui-select allow to write only number

I have followed by this answer http://stackoverflow.com/questions/29489821/allow-manually-entered-text-in-ui-select#= But have problems when add ng-model-options="{ debounce: 500 }" to the ui-select, ...
0
votes
1answer
17 views

How to get file path of image which is selected from pc in Angularjs

i am trying to get file path of images which are selected from pc using input tag. i am using this <input type="file" ng-model="imagesrc" accept="image/*"> but i am unable to file path of ...
1
vote
1answer
15 views

Prevent execution of two directive expressions

I've got this html <nav ng-init="items = false"> <a ng-click="$parent.items = !$parent.items">Show items</a> <ul ng-show="$parent.items" doc-mousedown="$parent.items = ...
2
votes
3answers
37 views

Why we inject parameter inside array and function

I'm a beginner in Angular development. I don't know why we inject twice argument inside for controller like: app.controller('mycontroller', ['$scope', 'myFactory', 'Myothers', function ($scope, ...
0
votes
1answer
21 views

Inline svg as directive (Firefox issue)

In my project, I am using Inline svgs as follows: HTML <div style="display: none"> <svg xmlns="http://www.w3.org/2000/svg"> <symbol id="dropdown" viewBox="0 0 3.359 1.929">&...
0
votes
0answers
21 views

Notification count not updated when page loads first time angularjs?

Have to add the count for notification in header(navbar) when page loads first. Here if page loads , the counter added in notification. But when i load at first time it does not update. I set the ...
-2
votes
1answer
25 views

How to increase the font of a text in Angular JS?

I am new to Angular JS I have to increase the font size of a word How do I increase it?? And do I have to increase it in the component?
1
vote
0answers
10 views

nvd3 remove tooltip content for empty points

I am using nvd3 line chart graph and used useInteractiveGuideline: true. So all the points has plotted in tooltip for the particular date. Here is the issue i am facing, In first & Second point ...
0
votes
0answers
9 views

How to find the way to use SheetJS in AngularJS 1 dependency injection is not acceptable and error occurs

I cannot find anyone install the SheetJS to their AngularJS app with dependency injection. I just found the guy without dependency injection and as a plunker here. But how to import library into ...
0
votes
4answers
41 views

how to use media query for height?

I'm working in web project(Angularjs) and facing one problem. I have given height: 80% and my screen resolution is 1280 x 1024. but when I opened same project in my laptop(Resolution 1386*768) Div get ...
0
votes
2answers
21 views

Looping through data from returned service

I have a subscribed to a service and need to loop through data returned from the service before outputting it to my view. If I console log it out I get all the data requested but when I try to output ...
0
votes
0answers
11 views

TypeError: $ionicLoading.show(…).then is not a function

I was trying to create a factory service for access ionic loader ($ionicLoading) in any controller. then the error got occurred, "TypeError: $ionicLoading.show(...).then is not a function" Anyone ...
0
votes
0answers
17 views

export all the data of my table into pdf javascript

i am creating a web app using mvc-5 with angularjs i want to export all the data of my table into pdf file on the button click event i am searching on the web since yesterday, but unable to find ...
0
votes
1answer
16 views

could not read response data and add data to my grid

i am using angularjs and web api's. I have returned a list from my api and am trying to display them in grid using ng-grid. below is my code. Can anyone please help me out. Design <html ng-app="...
0
votes
0answers
12 views

kendo tooltip need to be opened on scrollbar click

I've built a table setting button, on click of which a tooltip (with autoHide: false) opens from which we can select number of rows we want to see and the columns we want to hide. There is one ...
0
votes
0answers
19 views

AngularJS $.map: RangeError: Maximum call stack size exceeded

Function.map throwing console error while performing $.map function. where result.extraIds includes 2-3 Lakhs of records. $scope.extraIds = $.map(result.extraIds, function (item) { return ...
0
votes
0answers
7 views

Angularjs with packery.js draggable

I was able to get packery.js library working in Angularjs based on the solution provided in Angularjs with Packery.js HTML <div class="wrapper"> <div ng-repeat="item in test" danny-...
0
votes
0answers
15 views

re-upload an image using ng-file-upload after increasing its brightness

I have a button "add photo" which upload images using ng-file-upload but after uploading I have created a method which changes the brightness of the image and save the image in a dataUrl. Now, The ...
0
votes
0answers
11 views

how to access POJO property in AngularJs Controller or Service

I have a config property serverName in my AppConfig java class which gets value from cloud config client. This serverName value is used in Java classes and also in AngularJS Services. This serverName ...
0
votes
1answer
18 views

angular-vb.net : How to pass angular variable to code behind

Here is my controller.js code. I have a uid in js file. I want to access this code from vb code behind. $scope.GetID = function (uGuid) { $scope.Outlets = JSON.parse(Outlets); ...
0
votes
3answers
44 views

ng-repeat is not working in AngularJS 1.6

I'm new to AngularJS, I'm using the version 1.6 and I'm getting my info from my database, it is working but when I want to access to the JSON info is not displaying data. This is my code <div ...
-1
votes
3answers
31 views

how to reload the dynamic table every 1 second in the controller in angular js?

I'm fetching data from api and populating in the table i need to relaod the table only in every 1 second , i tried using $timeout but im getting error saying - $scope.tableParams.reload();//...
0
votes
0answers
10 views

How do I prevent me from falling out bubble in the bubble chart in highcharts?

I have plotted a chart of bubbles using highcharts. zoomType of That is 'xy'. When I'm zoom bubbles out of the plot.
0
votes
1answer
11 views

Spectrum.js not initializing when used in angularjs

I am using angular-spectrum-colorpicker to use spectrum.js in my code. It works basically fine except the value is not initialized with model. The following is the settings I used: <spectrum-...
0
votes
1answer
17 views

Angular 2 window.scrollTo not Working?

I am trying to have it so a my div element, set to "overflow:auto" will scroll when the user is dragging an element. Dragging the element works, and so does retrieving the proper mouse data (such as ...
0
votes
0answers
18 views

Prevent multiple HTTP POST request in angularjs

I've built a complex web app using angularjs, java and hibernate. I'm using http request for saving the form data. $http({ method : 'POST', url : $scope.servlet_url, headers : {'Content-...
0
votes
0answers
9 views

App aborting request with response status -1

I'm using Ionic platform for my mobile application. Using angular $http for sending requests to server. Intermittently when Mobile app tries to access server $http goes to it's errorCallback ...