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
5 views

How to get the ID for download link in view AngularJS

i have a question : i want in my view a table of my result files from my test run which is by click downloading the result file. <span ng-show="dataTable"> <table> <tr ng-...
0
votes
0answers
2 views

Adding a login page shows blank page in browser and nothing changed in emulator?

I scaffold a new ionic site using ionic start myApp tabs. Then I made the following changes. However, the app just shows a blank login page in Chome when running ionic serve and still goes directly ...
0
votes
0answers
5 views

angularjs ng-repeat autonumber increment from multiple arrays

I have this ng-repeat: <div ng-repeat="prop in props"> <div ng-repeat="tenant in prop.Tenants"> <label class="col-md-6 control-label">Tenant {{$index?}} ({{tenant....
0
votes
1answer
11 views

How to redirect a page based on condition in angularjs

I want to redirect a page based on condition after logged in by user at that time "varView" flag will have some values using cookies or rootScope or any other option. After that, in config while doing ...
0
votes
1answer
8 views

How to groupBy in spring Data

hi i'm using spring data in My project and I'm trying group by two fields, heres the request: @Query( "SELECT obj from Agence obj GROUP BY obj.secteur.nomSecteur,obj.nomAgence" ) Iterable<Agence&...
0
votes
1answer
11 views

Angular 2: populate FormBuilder with data from http

I get my data from http with rjsx in component (let name it customer). Then i'm using inner component in customer: <customer> <customer-form [customer]="customer"></customer-form>...
0
votes
1answer
13 views

active class menu item in angularjs for routeparam path

isActive to test for routeparam path like: angularjs/app/index.php#/pages-editmenus/36 my index.php <li ng-class="{ active : isActive('/pages-menus') || isActive('/pages-addmenus') || isActive('/...
-2
votes
0answers
5 views

Show selected checkbox values using md-checkbox in angularjs

<md-checkbox class="md-primary" ng-checked="exists(category, parameters.job_category)" ng-click="toggle(category, parameters.job_category)">{{ category }}</md-checkbox> in category there ...
0
votes
1answer
16 views

Angular2 - Input Field To Accept Only Numbers

In Angular2, how can I mask an input field(textbox) such that it accepts only numbers and not alphabets? I have the following HTML input: <input type="text" *ngSwitchDefault class="form-control" (...
0
votes
0answers
24 views

Convert Object's array to HTML table in Angular

I have a list of object like this : var entryList = [ { "Key1": "Value1", "Key2": "Value2", "Key3": "Value3" }, { "Key1": "Value1", "Key2": "Value2", "Key3": "Value3" }...
0
votes
0answers
12 views

Creating models for backend response data

An angular.js $http request returns JSON data from an API. Is it bad practice to directly use this JSON data (after some validation) throughout your app? Lets say the backend returns contact data in ...
0
votes
1answer
8 views

ionic angulerjs templateUrl rewrite issue

.state('app.item', { url: "/item/{title}", params: { color: null, icon: null }, cache: false, views: { viewContent: { ...
0
votes
4answers
16 views

Incompatibility with Mysql 5.7(Expression #1 of ORDER BY clause is not in SELECT list)

When I Executes the follwoing query i have received the Exception Error Code: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'webstore.c.level_depth' which ...
0
votes
0answers
11 views

how to create personal scope for each compiled element?

When I create new 'wItem' object and want to append compiled DOM to container(not ng-repeat) container.append($compile(UIService.appendItem())($scope)); var children = container[0].children; var ...
0
votes
1answer
20 views

How to add get request parameter in Angularjs

How to add get request parameter from url to controller in angularjs e.g. my request is http://localhost/abc-ang/#!/abc/8 and my controller code is app.controller('AbcCtrl', function($scope,$http) { ...
0
votes
0answers
5 views

Possibility of custom scroll with AngularJs using webix datatable?

I am using webix datatable in AngulrJS, I want to use custom scroll feature of webix datatable in my angularjs application. So can anyone guide me for the same?
0
votes
1answer
23 views

Repeating a div on button press in AngularJS

I am following a tutorial here: https://fourtonfish.com/blog/2014-01-dynamically-add-directives-in-angularjs-no-jquery/ to try and append information to a div when a button is pressed. I have got the ...
0
votes
0answers
9 views

angular provider get method has no reference of set variable from config block

I have below serviceURL Angular Provider in my project. app.provider("serviceURL", function () { var cartServiceBaseSite = ''; var domainName = ''; var GetRatingURL = domainName + '/comments....
0
votes
0answers
8 views

Angular ng-bind or interpolation when used inside other attributes?

I'm quite new to Angular 1.5+ and I was trying to understand why should I use ng-bind instead of interpolation. It seems that it's much more efficient, and it will prevent the unrendered {{ }}. But ...
0
votes
0answers
13 views

Get Value From sessionStorage and Add To Header

I Can get sessionStorage value like this >> $window.sessionStorage.getItem('token') I want to add this token to all header How i can add it get: function(url, headers, data, success, error) { $...
2
votes
0answers
15 views

Protractor & Chrome - Waiting for Input element class attribute to change/disappear fails intermittently

I am using protractor 4.0.10 to test an angular 1.5.10 with chromedriverVersion: 2.26.436382 My test is basically checking if an inputbox behaves properly when typing an invalid email, and then when ...
0
votes
0answers
13 views

Deleting checked row in data table with http request in angular 2

I have a table with data fetched into in from the server. I want to delete a row by ticking or checking the checkboxes and hitting the delete button to remove the row. Below is the code; //client....
0
votes
2answers
37 views

How to change one-time binding data in agular js?

I have a div which show details like mobilenumber, name etc. like {{::mobilenumber}}, {{::name}} In that div, there is button that renders the same values in the new form By using the button in the ...
0
votes
0answers
14 views

What is the angular alternative to curl -T

In my Angular application I try to upload a file to AWS-S3 with $http.put(url, file). However it's not working, I get back a HTTP-403 Forbidden telling me that the signature s3 calculated differs ...
0
votes
0answers
6 views

Angularjs ajax call postback failure method is not called, Instead success method is called

I have a webapi controller with Authorize attribute as follows. [Authorize] [RoutePrefix("api/account")] public class AccountApiController : ApiControllerBase { [HttpPost] [Route("register/...
0
votes
0answers
11 views

using node js express js for server side and angular 2 as a front site when i am using res.render got error req.flash() requires sessions error

I am using nodejs and expressjs for backend and angular 2 using for frontend but when i running code fond error like error req.flash() requires sessions error. Find my file which one i am using my ...
0
votes
2answers
35 views

ng-repeat th element remove attribute

So i have the following ng-repeat: <th ng-repeat="field in tableFields" translate="{{field.headerTitle | translate}}" ts-criteria="{{field.sortable ? field.fieldKey : null}}"> <label ...
-4
votes
3answers
28 views

capitalize the first letter and the letter followed by a dot(.) using angular js

I need to capitalize the first letter in a string, for example, sumo => Sumo and also need to capitalize the string with the following format, Dr.ravi kumar => Dr.Ravi kumar I am using a ...
0
votes
0answers
11 views

Using AngularJs Templete value in Spring Controller

I want to use the angularJs Templete value in spring Controller. If it is like ng-model=x and we show the data with {{x}} how can i use this x value in a Spring Rest Controller's method as a ...
0
votes
0answers
11 views

angularjs selector Assign values in Remote fetching with custom service Mode

I am using angularjs-selector.js(https://github.com/ssotomayor/angular-selector) for multi-select functionality My case scenario applies with Remote fetching with custom service mode of this plugin ...
0
votes
1answer
19 views

How to know if AngularJS filtered and limited lists lengths are the same

I'm trying to show an alert in case a filtered and limited list has elements not being shown. I'm looking for a good performing solution, as these lists will be really long. Here is what I have from ...
-2
votes
2answers
18 views

how can I link rails and angular js for developing single page applications

I know both ruby on rails and angular js ,But I don't know how to link both could you tell me how can i link both for developing single page applications
-4
votes
0answers
16 views

Scan document on button click using jquery/javascript

Friends, i want to scan document on button click and get image on webpage using javascript/jquery/angular js/java. Do you having any good solution? Need free version library.
-1
votes
0answers
26 views

Why to use angular 2 instead of angular.js for hybrid mobile app development? [on hold]

By using angular 2 I'm developing a hybrid mobile app with the help of ionic 2 framework, In middle of the development I got a question in my mind , i.e Why to use angular 2 instead of angular.js ? ...
0
votes
0answers
15 views

AngularJS 1.6.1 form and ngInclude

Angular 1.6.1 breaks ngInclude in my project. I use ui-bootstrap 0.14 for the tabs. <uib-tabset class="col-xs-11 " id="detailsContainer" > <uib-tab active="$root.isFirstTabActive" ...
0
votes
0answers
7 views

AWS CORS and client side error handling

I have created aws lambda using nodejs. Also have deployed and created api url from aws api-gateway for aws lambda. Have enabled CORS while creating api. I am using angularjs code to call service. ...
2
votes
1answer
40 views

PHP if statement using !empty() not properly checking existing variables

I've come across a weird problem which I can't seem to debug properly. I'm currently creating a registration form using AngularJS and JSON requests to PHP files. Here is an example of input data that ...
-1
votes
0answers
8 views

1D 2D barcode (like datamatrix) scan from client side with jquery plugin

I'am new in jquery. i want to develop a barcode scanner that can scan all 1D and 2D barcodes from the client side. Is there any jquery plugin for scanning 2D barcode as DataMatrix from webcam???
0
votes
0answers
11 views

Integrating jsTree with Treemodel

I am a complete javascript newbie, how can I integrate, jsTree on the front end, with the backend services in node.js. The backend is written using the Treemodel library (http://jnuno.com/tree-model-...
0
votes
0answers
21 views

How to call function on reload in angularjs

I am trying to call onclick function when i login through gmail,i wrote 2 functions below on which when i login through gmail it gets back to this controller but refreshing 2 times because of that my ...
0
votes
0answers
8 views

Why the $cookies.putObject set to undefined all other $cookies?

I'm using angularjs 1.5.8 and I have some issues with $cookies.putObject. When I use $cookies.putObject for the second time, seems as something is going wrong. All other cookies without an array of ...
1
vote
1answer
25 views

How to pass json data through ajax in Angular Js

I am new to Angular js and i wanted to pass one static json file through ajax and i am giving the codes below.How to Display the data of json file into the index file that i dont know. As i am new to ...
0
votes
0answers
12 views

Displaying images from Amazon AWS folder NodeJS

On Amazon AWS I have API and MySQL database and there I store images through a form that is located on another server but I'm unable to display images from /home/ubuntu/uploads/ (this is path from FTP)...
-3
votes
0answers
17 views

Chrome plugin to pull linked in profile

I have created a plugin in chrome. once clicked on, it will get add button. once add button is clicked, if we are in linkedin profile page, it has scrape that profile data and parse. I done some ...
0
votes
0answers
9 views

Capybara, Sweet-Alert, click_button seems to work, but does not trigger the action

I'm trying to write a test. There is a site with an element and a delete-button, to delete that element. If done manually, it works as expected. Currently, the test looks like this: visit "/...
0
votes
0answers
15 views

Both Angular & bootstrap UI tab become active in prevent default

I got into a css problem while using angular ui tab. Issue is that I have a scenario in which I got two tabs. I need to prevent tab switching based on some condition. For that I had used prevent ...
0
votes
2answers
23 views

function in data-ng-class not getting called

I am trying to build a basic project in Angular. I want to color the list items based on the value returned by a function that is called in data-ng-class. Here is my partial html file. <div> ...
0
votes
1answer
9 views

In console error showing ignore attempt to cancel a touchend

I design on form for user registration in ionic app, run in debug mode on phone and fill form and when i submitting form application not responding anything else and when i checking it on console ...
0
votes
2answers
50 views

Angular js Ng-model value not worked in textarea

Here i have the code using ng-model in textarea. i want to get the textarea value and add some static content to that. and then append in ng-model. But it's not working. Here i pasted my code: in ...
0
votes
0answers
39 views

ngRoute loading just one view

var app = angular.module("Signup", ['ngRoute', "ngAnimate"]); app.config(function($routeProvider) { $routeProvider .when('/signup', { templateUrl: "/views/signup.html", ...