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
2answers
14 views

How to get values and $id from $firebaseArray in angularJS

Hi I'm not a pro in firebase, just started working in it. After searching through many places I couldn't find solution to my problem. My firebase database structure is as follow: I want to retrieve ...
1
vote
2answers
1k views

How to populate Ng-Grid from CSV file?

I want to create client-side javascript that reads a csv file on the web server and uses that data to populate a grid created with Ng-Grid. I'm attempting to use jQuery-CSV to transform the CSV into ...
0
votes
0answers
10 views

Design application for front end data table

I am currently working to a task where i must make a data table with pagination. I am using Spring(4.2.5), AngularJS(1.5.8) and Cassandra(3.9). In cassandra i have a table, for example 'cars' with pk ...
0
votes
0answers
9 views

AngularJS ng-repeat

data Code: <div ng-repeat="book in books"> <tr ng-repeat="boo in book"> <td>{{boo.author}}</td> ...
3
votes
2answers
40 views

how to access Multiple form in controller in angularjs?

I have to do form validation for multiple forms which have to be created dynamically. I have created the forms dynamically by using ng-repeat but I am not able to access that form in controller. ...
0
votes
1answer
20 views

Sweet Alert http request with Angular doesn't work

I'm creating a form with Sweet Alert and I have a post request inside the swal function but when I hit submit nothing happens. Would appreciate some help. $scope.formModal = function(){ swal({...
0
votes
1answer
13 views

nested Filter json Using Checkboxes with AngularJS

I had a Json data I need to create a nested filter search in angular. If you guys can help me since I am new to this I tried but I find difficulty. JSON URL: http://dev.flyreagan.com/store-directory?...
0
votes
0answers
8 views

Unable to post data to RESTful service from angular

I have written the following REST service: package ang; import java.util.List; import javax.ws.rs.DELETE; import javax.ws.rs.FormParam; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax....
0
votes
0answers
6 views

Enable sorting using keyboard navigation ui-grid

I am trying to implement column header sorting using keyboard. As far as I know, Shift+enter key performs sorting by default, but that is not working for me. Only when I click on the column header ...
0
votes
1answer
58 views

Clone Elements in Angular

I got this code from Vladyslav Babenko from this post over here (Clone elements in angularjs): var App = angular.module('App', []).controller('Test', ['$scope', function($scope) { $scope....
0
votes
1answer
41 views

Hide and show div in angularJS on click

I am creating 3 popups using ng-repeat for developing one filter. I want to do everything in Angular only, with every popup having same class name and a different id. On each button click I want to ...
1
vote
0answers
21 views

smart table using pagination angular

Using Angular smart table lib: I just want to display the pagination buttons on the bottom. According to the documentation, it looks like st-pagination directives inserts those dom elements in there....
1
vote
1answer
33 views

<select> with ngRepeat dont select item when first element selected

I'm facing a problem when using ngRepeat and ngSelected inside <select> tag, this is the code: <select ng-model="y.SkuId" ng-change="y.Edited=true;"> <option ng-repeat="s in skus" ...
0
votes
0answers
7 views

Ionic external links

What would be the best way to run external links within ng-repeat element <ion-list ng-repeat="studio in studioanzeigen"> <ion-item class="item-thumbnail-left" href="#" ...
2
votes
2answers
19 views

Newbie AngularJS Controller $scope cannot read property of undef

I'm trying to solve a problem obviously some of the newbies with Angular experience sometimes. Even there are several posts I did not find the problem with my small example. Scenario: webpage that ...
0
votes
2answers
26 views

Angular depandency problems at minify compiling

I have an app which uses a lot of different js files. When I compile the app normaly with gulp everything works well, but when I compile everything in one file to minify it, I get an error (Uncaught ...
0
votes
0answers
9 views

AngularJS $formatter and $parser for input field

Is there a possibility to also use $parser and $formatter for an input field and not only for a directive? This is my input field (AngularJs DateTimePicker) <input type="text" class="form-...
0
votes
2answers
12 views

IE sends empty POST body randomly while using NTLM (using angular to Spring)

We are seeing issues with seemingly random calls that are missing the POST in IE 11. Upon further inspection the requests from the browser are including a NTLM negotiation token. We see this token ...
0
votes
1answer
39 views

AngularJS orderBy is not working after new items pushed into array

I have a list of progress notes (collection of simple objects), on this screenshot, first three were in the model, and the last one was added to the model using push command: In HTML this presenttion ...
0
votes
2answers
34 views

How do I create a button/label with dismiss?

I want to create a button/label with an onclick event that does some functionality. However I want to be able to give the user the option to remove the button/label if they want.This is what I did: &...
1
vote
1answer
12 views

Angular2 Service instance not shared between aux routes?

I have an issue with angular. I have a feature module whose routing configuration looks like this: const routes: Routes = [ { path: '', children: [ { path: '', component: ...
0
votes
0answers
11 views

How to deploy Angular.js to Elastic Beanstalk

What is the simple way to deploy an AngularJS app into Amazon Elastic Beanstalk.? Should We use a Docker container ? or a simple node.js app will do the trick ? Thank you in advance Eduardo.
0
votes
3answers
21 views

How do print out information from GET request in angular

I have this problem that is taking up too much of my development time. I have researched this problem a lot and it has now gotten me to here. I'm making a GET request from a service. The GET request ...
0
votes
0answers
19 views

Angular - dynamically fetch and include html templates

I am creating a dashboard and need to allow users to add and customize widgets. The widgets will have charts and whatnot. Therefore I cannot rely on adding directives directly to templates. The way ...
0
votes
0answers
6 views

Get collection houses on maps routes [on hold]

I wanted to know if you know, for example, getting my route point to point, to know if you go through some collection house, I have a service provided by the STC in Mexico for the location of the ...
0
votes
0answers
5 views

HiQPDF with angular issues

My website is heavy on angular and bootstrap and i need to create PDF from the html. I use HiQPDF to generate the PDF but the issues that i face are - Any change that has happened (after initial ...
1
vote
2answers
25 views

Segregate or devide the values and make pie charts based on them…

I have some data fetching from backend database server, which is returning the below details. [{ "Year": 2014, "Name": "A", "Values": 18 },{ "Year": 2014, "Name": "B", "Values": 16 },{ "Year": 2015, ...
1
vote
2answers
2k views

How to close ui-bootstrap modal when press back button on android phone?

I have a sample ui-bootstrap modal (from ui-bootstrap document) angular.module('ui.bootstrap.demo', ['ui.bootstrap']); angular.module('ui.bootstrap.demo').controller('ModalDemoCtrl', function ($...
0
votes
0answers
19 views

How to check user role using provider while I have factory?

Currently I'm working with Blur Admin template and I have a case which sidebar menu should appear depends on user role. After gave it a try I discover that if I comment $stateProvider.state(....); ...
0
votes
2answers
16 views

Can I use a Directive in the template function?

So this is a simple example i just wrote up for the sake of this question, I'm curious if I'm able to use a directive and pass in an object to the directive's attribute, all in the template, not ...
0
votes
3answers
21 views

Make span reactive to a textarea of an AngularJS app

I have the following code: JSBin: <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="https://...
0
votes
0answers
23 views

Correct format or order json array

I'm having a problem. From a WebService I receive the following array: "Value": [{ "celda_id": 1, "indicador_id" : 5, "valores_celdas": [{ "celda_key_codigo": "CODIGO", "...
1
vote
0answers
22 views

How can we apply CORS on an express application [duplicate]

Hello i create a simple nodejs+express+mysql+angular+yoeman application. On that application i do the following: 1. I create express application and run the server on port:3000 2. I have created a ...
-2
votes
0answers
22 views

AngularJS datepicker - date format dd.MM.yyyy

I use this AngularJS datePicker and I have a problem with the format, vmModal.account.creationDate e.g looks like this: 03.07.2016 (3th of july 2016) and when I open the datePicker, the 7th of march ...
0
votes
1answer
96 views

TypeError: fn is not a function at completeOutstandingRequest in angularjs

I am new to anugular js and working on simple module i.e Image Slider. In this module, I have just change the image on home page. Everything is working fine. But now, I want to use some animation ...
0
votes
2answers
24 views

$scope.chart undefined in angular-chart

I need to make chart that have onClick event and get label that was clicked. I found and adapt solution. This is my code: $scope.chart; $scope.onClick = function (points, evt) { console.log(...
1
vote
0answers
8 views

Kendo custom validation for datepicker

I'm having problem with kendo datepicker custom validation (There is actually not many examples found on the web for custom validation in angular way). I have set the min value of the datepicker but ...
3
votes
1answer
1k views

Behaviour bindToController in child scope versus isolated scope

I was playing around with the bindToController option for directives. I stumbled upon a seemingly strange difference between the behaviour using a child scope compared to an isolated scope. When I use ...
173
votes
7answers
60k views

Can an AngularJS controller inherit from another controller in the same module?

Within a module, a controller can inherit properties from an outside controller: var app = angular.module('angularjs-starter', []); var ParentCtrl = function ($scope, $location) { }; app.controller(...
0
votes
1answer
32 views

click event is not fired when height / content is jumping

I have a form with shows validation errors below its fields. It shows validation errors on blur event. The problem is that links below this form are not clickable if error message is shown at the time ...
1
vote
1answer
270 views

Angular 2 and IIS WebApplication (or virtual directory)

We have webserver with an IIS website and an IIS Web Application underneath. The web application's root is: http://website/webapplication/. When deployed I get the following error in the browser: ...
0
votes
1answer
15 views

How to delay the google autoComplete function to save credit

As you know every time when we type the google map autoComplete will fire, I want to set a delay function for this, such as 250ms,so give user more time to type and also save the credits. I try to add ...
0
votes
0answers
16 views

How do I get my angular app on my hosting to view as a web page?

So I finished the Tour of Heroes tutorial. I understand it and can alter and have fun and what not. Got a git repository from Visual Studio Team Services for the app. Now here is where I'm lost I ...
0
votes
0answers
36 views

How to scrap a Angular/React web-site, when Jsoup fails [on hold]

In the app that I'm currently developing I need to scrap a dynamic web page, managed by AngularJS. Basiclly when I request the page with Jsoup I only get the template, but in reality there is a lot ...
0
votes
2answers
12 views

How can I clear previous toastr before showing the new one and set a timeout between them?

I am using Angular toastr and I am stuck at passing a delay between hiding the previous toastr and showing the next one. There should be only one toastr at a time. I am hiding and showing it, but ...
0
votes
2answers
37 views

ng-option not selecting the saved value

First of all I am very new at this so I apologize in advance if it is a simple question. I searched whole day yesterday without finding any results. I have following statement <select id="mks" ...
0
votes
3answers
31 views

angular 2 Observable / Subjects cannot read property 'next'

i found this great post Creating and returning Observable from Angular 2 Service and now I try to do the same, but get the this error: core.umd.js:2838 EXCEPTION: Cannot read property 'next' of ...
0
votes
0answers
7 views

Text input on Ionic to change speech in firebase

I am trying to create a system where what you submit in a text field the content gets written to a firebase. <form ng-submit="addtext(x)"> <label class="item item-input"> <input/...
37
votes
3answers
26k views

How to pass url arguments (query string) to a HTTP request on Angular 2

Hi guys I'm creating a HTTP request on Angular 2, but I do not know how to add url arguments (query string) to it. this.http.get(StaticSettings.BASE_URL).subscribe( (response) => this....
-1
votes
0answers
18 views

How to Send email with PDF attachment using Angularjs [on hold]

I am new to AngularJS. I want to create an angular application which takes a questionnaire / survey and at the end generates a pdf of the survey taken and send email with pdf attachment to the person ...