AngularJS 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 apps are also frequently known as Single-Page Applications.

learn more… | top users | synonyms (2)

0
votes
1answer
19 views

Automatically checking radio button and executing ng-change

Im working on an Angular app, and I'm using radio buttons to swap between two data sets. It's working as intended, except I would like one of the radio buttons to be checked when the page loads, and ...
1
vote
1answer
18 views

$q.all returns state instead of values - why

Here is the code: $q.all($q.when(3), $q.when(5)).then(function (values) { console.log(values); }); The output is the following: {"$$state":{"status":1,"value":3}} The manual states that: ...
0
votes
0answers
12 views

angularjs filter then calculate

I've got an array of objects which I parse for information such as client, pic etc.. I then display (ng-repeat) the objects in a table and add up totals such as the total items for client x and pic ...
0
votes
0answers
7 views

Angular fill ng-options from http request

I have a select tag that gets data from selectable variable. <select multiple chosen class="chosen-select" ng-change="onSelectChange()" ng-model="rowVars" ng-options="v for v in selectable"> ...
0
votes
0answers
21 views

How to get url of GET response in AngularJS

Dear stackoverflow users/angular jedi masters, i am in a little trouble. i need to get URL of GET response, but can't find how to do this for a 26+ hours :( Code that i am using works fine, i am ...
0
votes
0answers
8 views

how to stop controller loading when $location.path is fired

.state('Home', { cache: false, url: '/Home', views: { '': { templateUrl: 'templates/Home.html', controller: 'rgstrnCtrl', } } })this is my state ...
0
votes
2answers
32 views

Scope variable not getting displayed

I have scope variables set in my controller $scope.patientState = {}; var dateTime = new Date(); $scope.today = moment(dateTime).format("YYYY-MM-DD"); $scope.patientState.stateChangeDate = new ...
0
votes
0answers
4 views

angular's ng-click works with huge delay on iPad3 with iOS 8.3 even fastclick is atttached

Angular ng-click works with huge delay on iPad 3 with iOS 8.3 even fastclick is attached. Actually I'd say that ng-click works not very well on iOS in generally but on iOS 8.3 it's more noticeable. ...
0
votes
0answers
7 views

connecting angularJS to plotly

So I want to use angularJS to get data from a server and plot the data using Plotly. I am running a server in the background. The HTML I am using is shown below. I think it is pretty straight forward. ...
1
vote
0answers
15 views

Why Angular resource is attaching base url with every request?

I'm using resources angular API to gets some data from another server. function PromptService($resource,$q){ var appBaseU = 'http//machineIp/adminapi'; var prompts = ...
-3
votes
0answers
18 views

How to add a valid name and map to the dropdown values coming from database

I have a set of values in dropdown list populated by data coming from backend. {{validoperands}} ...
0
votes
2answers
19 views

Angular UI router dynamically inject URL to html

I am trying to build a simple app, which goes the following way: I have 2 menu items in the navbar: home and contact. The home should be a unique URL only once from the server, at initialisation, ...
0
votes
0answers
29 views

How to access parent controller $scope values in child controller

var parent = angular.module('parent', ['swxSessionStorage']); parent.controller('parent', [ $scope.idMenu = [{ label : "id1", value : 1 }] ...
-2
votes
0answers
7 views

Anyone have done cakephp 3.x integration with angularjs 1.4.x, please help and guide me for the setup and directory structure

I have to implement angularjs 1.4.x with cakephp 3.x for a fully customise shopping cart. I am totally new in cakephp 3.x (studying from last one week ) and angularjs 1.4.x I am thinking what ...
0
votes
2answers
18 views

angularjs convert Date to UTC format in controller

I want to convert below date and time to UTC format "1970-05-11T18:30:00.000+0000" I am able to do this inside view, but i want to do it in the controller. {{stmt.tranDate | date:"dd/MM/yyyy": ...
0
votes
1answer
26 views

How to use factories with Ionic/Angular JS with phonegap?

I'm trying use global variables in my ionic/angular + phonegap app project by using factory service. However, adding even a simple factory service like the one below messes up the app somehow & ...
-2
votes
0answers
9 views

Jest support for other frameworks like angularjs, backbonejs and jquery, other than react?

Does Jest support other frameworks like angularjs, backbonejs and jquery, other than react? Mocha has support for almost all the frameworks.
0
votes
1answer
10 views

How to use md-card in angularjs to have three different sections

First Section of the md-card should be a title,second section should be a content and third section should be the d3.js timeseries graph.
0
votes
0answers
11 views

CSV Filedownload in Angular JS, Spring, Safari browser

I need to implement a functionality where I need to download CSV file from UI. Technology stack is angular js and spring mvc and I have to work in safari browser. I read in many posts like ng-csv ...
0
votes
2answers
32 views

ng-cloak is not working

I have written a code that takes some text input and removes the '#' tags in the text.The code is running fine. But initially when the page loads i am getting '{{textWithHashes | ...
0
votes
1answer
11 views

How to change the color of the item under cursor in md-select in Angular Material?

I am using the dark theme in angular-material 1.0.4. This is how the select element looks like when selecting an item: And this is how it looks like when using the default theme: The dark theme ...
0
votes
0answers
22 views

Angularjs ng-show with expression

Is it possible to use ng-show with an expression? I am trying to filter a ng-repeat with the result of a checkbox click. I can view the expression but not in a ng-show or ng-init. The value displays ...
0
votes
0answers
11 views

multilayer or nested session in mobile applications

I am using ionic framework as a matter of course I use angular.js for front end. on the back end, I use spring-boot for data handling and API management. I have used a single session and csrf token ...
1
vote
1answer
18 views

Angular - Trouble injecting a factory into a controller

I'm trying to separate my angular code into factories, so my controllers don't become unmaintainable. Specifically, in my factory, I will house code that will be shared across multiple controllers. ...
0
votes
0answers
20 views

Javascript html to pdf for multiple pages

we tried convert html page to pdf using jspdf.min.js but we couldn't get the required output. We add html code and add semantic.css into html add jspdf.min.js we first convert html into canvas and ...
0
votes
1answer
16 views

AngularJS and AngularUI Bootstrap doubling tabs when adding a new tab

I am trying to build a reusable directive (with isolated scope) for each new AngularUI tab. When I try to collect all the data inside a tab and add a new tab, what Angular actually does is to double ...
0
votes
1answer
37 views

Angular ng-repeat inside loop

I have following code in controller, i have succeeded to loop primary xml based data but i could not succeeded pass secondary child (in second level tr tag i want all "list" category repeat) data in ...
0
votes
1answer
7 views

How to extract time from json date string using angluar js?

I want to extract time string from incoming json data string but it is mandate to moment.js in angularjs, This is my details HTML Code: <div ng-repeat="event in events | limitTo:1"> ...
-3
votes
1answer
12 views

Web application to download and install a build automatically

I have a script in Perl which downloads and installs an app (.exe file) from the server. It also uninstalls the build if it is already installed before installing the latest version. Now I want to ...
0
votes
0answers
20 views

angular filter from pure JavaScript Method

This is just for test and learn. I am having a JSON object obj. I want to call angular Json filter on that to format that json object and print it on chrome console. Not by any button click. Just by ...
0
votes
0answers
15 views

how can I manipulate DOM elements inside angular-datatables

I'm using angular-datatables, just don't know if I am able to manipulate elements inside the tables. for example, can I add ng-bind or ng-click directive to the 'previous' button and 'next' button on ...
0
votes
1answer
20 views

not able to pull data in factory by online json files

I created a factory named service.js myAppServices=angular.module('myAppServices',['ngResource']); myAppServices.factory('ProfileData',['$resource', function($resource){ return ...
0
votes
0answers
27 views

Angular parse Json inner array

in my code I had an angular ng-repeat displaying an json object. one of the fields inside this object is an array and when I display it using angular syntax {{item.tags}} it comes up as raw json text ...
0
votes
0answers
18 views

JavaScript: How to virtually “page” through collections

I'm having trouble thinking through how to do this in JavaScript. Also, if it helps, I'm doing this in an AngularJS app. Let's imagine I have the following objects in my JavaScript app... (the ...
0
votes
0answers
10 views

AngularJS Onbeforeunload not able to make POST http call on browser close

I tried using Onbeforeunload as below to call a function on browser close. But when I close the browser window it is not able to make the post call to the server, but the same is working fine for the ...
0
votes
0answers
9 views

checkbox in jqgrid using angular js

The given piece of code is the config.service.js file { displayName: 'OBS Dt', name: 'obsoleteDate', index: 'obsoleteDate', title:'Obsolete Date', ...
0
votes
0answers
11 views

OOP Tactics with the Angular MVC Framework?

I learned a lot from reading this question that is a question pretty similar to mine. This is my first attempt at OOP, I've always coded using the procedural paradigm. Before I ask my question it ...
1
vote
0answers
9 views

Data Binding and status of the user profile in angular js on step progress bar

I want this click here type of design in angular js .this will show the user profile status that how many times he has completed the steps. The value is dynamic will come from database.
0
votes
0answers
27 views

How to Group ng-repeat subdocuments?

I am using AngularJS, where i have SubDocuments and my JSON comes like below. I would like to know how do i group my subdocuments(list inside orderfood). my plunker link. the result i am getting now ...
0
votes
1answer
9 views

Append Data to existing json array through Angular-Bootstrap dialog modal

I am facing issue while adding data through Angular Dialog modal Here My plunker http://plnkr.co/edit/EJpkmXqNAcuN3GJiLvAL?p=preview <table class="table table-bordered"> ...
0
votes
0answers
18 views

Angular ui-router add unique id to url on state change

in angular 1.0 with ui-router, how can i add a unique id to each url on state change. my_url/potato?uid=213123234234644 my_url/tomoto?uid=213123123123123 ... i tried with an interceptor: ...
0
votes
0answers
17 views

Dynamically adding check box to row in Angular JS UI-Grid

I am changing from ng-grid to UI-Grid in angular js. I am getting error while DOM manipulation Console Log Error: [ngModel:nonassign] ...
0
votes
0answers
10 views

i18next changeLanguage function doesn't work

I'm using i18next for a angular website, but the language selector http://i18next.com/docs/api/#change-language is not working. init with ng-i18next plugin: angular.module('jm.i18next') ...
0
votes
0answers
6 views

Angular Infinite scroll + mcustomScrollbar for table body

I am trying to implement the Angular JS infinite scroll with fixed header and fixed column . And in the mean time am adding the mcustomscrollbar for scroll features . I can able to add the scroll ...
0
votes
0answers
8 views

Ionic AngularJs Https verify the first certificate error

when I use AngularJs Https in Ionic $http({ method : 'POST', "rejectUnauthorized" : false, url : 'https://120.76.42.86:443/api/user/login', data : ...
0
votes
1answer
11 views

Routing for multiple views in angular and mongodb

I am using Yeoman's angular-fullstack and am stuck on making multiple views based on Mongo's auto generated _id. The StoreCtlr, which populates all data to the pag,e works well, I am just having ...
1
vote
1answer
22 views

Why are all checkbox being checked at the same time

I swear I have done checkboxes a million times but these are giving me trouble. When I check either one, the other one also gets the checked attribute. My guess? Angular is the culprit, but I still ...
-3
votes
0answers
17 views

CSS Highlight part of an image where it is located

Hi everyone I want to create a locator based document retrieving system. For example I have a folder name NODE.JS 2015 and it is located at Cabinet A1 it will highlight the part of an image as seen ...
0
votes
1answer
14 views

NodeJS , AngularJS not getting response when on different domain, getting success but without response data

I developed an application based on MEAN stack and it works fine when UI and api on same domain-port. however , when I segregate UI and api and let say deploying on different domain or even local with ...
0
votes
1answer
21 views

What is the use of angular.copy in this situation?

I am referring to this code on form posting as coresponding to angular documentation on simple form. What is the use of angular.copy over here? it seems that the code still working fine in the case ...