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

AngualrJs ngStorage - Key and value pair

Please guide me to solve this problem "data": { "profile": { "id": "1", "name" : "test" } , "Friends":{"id":1, "name": "frdn1" .... } ....} Need to save this is in to my local storage ...
-1
votes
0answers
9 views

Ionic how to add 3 place decimal for number input

I am trying to add restriction on a input number type control in my Ionic app, however its turning into a nightmare. I have tried various options, but they don't seem to work on the Samsung galaxy ...
0
votes
0answers
5 views

how to call the search callback manually on the click of a button in visual search js?

In VisualSearch js, how to call the search callback manually on the click of a button ? visualSearch = VS.init({ container: $('#search_box_container'), query: '', ...
0
votes
1answer
28 views

Remove duplicates from loop - angularjs/javascript

Here is a multidimensional array comparison. Demo : https://jsfiddle.net/vjnkc7dk/ I need to compare array1 & array2 and push single result to a div element. <script ...
-1
votes
0answers
12 views

Angular is not defined while executing an example

I'm trying to run this widget lforms, but I cannot get it working. It always shows me the error angular is not defined I have installed and reinstalled node, bower and this widget, but I don't know ...
0
votes
2answers
12 views

angularJS display +1 month date

here is code: date: new Date(2015,12,8) and html: <span>{{task.date | date:'MM/dd/yyyy'}}</span> but angularJS displays this date like 01/08/2016 and I don't know why it's display ...
0
votes
1answer
7 views

Post angularjs form to nodejs Express ( Bad request)

im new in angularJs, im trying to make a basic login with angularJS and nodejs ( server side), i dont care about security for now im just trying to learn how to post. so i made a login form and a ...
0
votes
0answers
4 views

uiGmapGoogleMapApi show nearby places within a circle

i'm using angular google map to display map. i have done the near by places markers using places api and a circle. the circle's radius will be increase as i give value in a text box using ng-change ...
0
votes
0answers
7 views

How can I convert Canvas OR Data in any div to Image in Ionic Framework?

I am new to Ionic Framework, I need to create an image from data received form the server, which will be displayed in a div. I want to convert that data into image. Can any one please help me step by ...
0
votes
0answers
13 views

Angular animated ng-repeat

I am using Angular 1.4. I have a list of elements, built using ng-repeat, that can be slided to be removed. I am looking for a way to use ng-enter, ng-move and ng-leave to do pretty animations when ...
-1
votes
0answers
9 views

Ng-file-upload progress bar not working with offlinejs

I'm use ng-file-upload for fileuploading in my home, and the good news is that it's working fine and I'm able to upload files. The issue is that the progress bar only shows when i disable the ...
0
votes
3answers
18 views

UI Bootstrap custom directive controller is not a function

I want to use UI Bootstrap Collapse in my custom directive <collapse> However, I get this Error: [ng:areq] Argument 'CollapseDemoCtrl' is not a function, got undefined Here is my Plunkr What ...
2
votes
1answer
20 views

How can I use copy and paste with protractor on MAC with Chrome?

How can I use copy and paste with protractor on MAC with Chrome? newInput.sendKeys(protractor.Key.chord(browser.controlKey, "a")); newInput.sendKeys(protractor.Key.chord(browser.controlKey, "c")); ...
0
votes
1answer
8 views

MEAN stack resfulAPI multiple dbs / collections

I am a begginner to MEAN and I have a MEAN stack application that pulls data into one table on one HTML page but now I want to pull data from two mongo db's or collections into another table on the ...
0
votes
2answers
17 views

Show only Dynamically Added selected Element value

When I am trying to show selected element value on click, it was showing all element values.. in below code if i added usernames, when we click on any label it will have to show their corresponding ...
0
votes
0answers
4 views

Error: EMFILE, too many open files at Object.fs.openSync Digital Ocean

I just went live in production with a digital ocean server (the $5 dollar one) and have been getting an average of 50 online people all the time on my website for an average of 3,000 sessions each ...
0
votes
1answer
18 views

Getting data into Angular app from Web API

I have a Web API where my repository class is: public class myRepository { public myClasses.Type[] GetAllTypes() { return new myClasses.Type[] { new myClasses.Type { ...
0
votes
1answer
15 views

Chrome doesn't block every popup I'm opening with javascript

I've coded this inside an Angularjs services: .factory('NativePopup', function($rootScope){ function open(data){ var ref = window.open("components/modal-attesa.html", data.title, ...
0
votes
0answers
15 views

problems building a maven project with bower on a windows VM

I have a maven project someone has given me which uses bower. I am trying to do a basic mvn clean install on a vm I have set up with all the relevant versions. I have built larger projects on my vm ...
0
votes
0answers
12 views

Function on Focus Out for Chosen Select Options

I use the chosen library throughout my application for select boxes. https://github.com/localytics/angular-chosen I would like to use something along the lines of $("form :input, form ...
1
vote
1answer
26 views

In AngularJS with views (routing) why controllers are executed only going forward?

I have an Ionic project (which use AngularJS) with views. Routing is like: .state('menu.play', { url: '/play/:audioIndex', views: { 'side-part': { templateUrl: 'templates/play.html', ...
1
vote
1answer
19 views

Form submit behavior with nested forms in angularJs

<form name="v" ng-submit="submit()" ng-controller="ExampleController"> Enter text and hit enter OUTER FORM: <input type="text" ng-model="text" name="texta" /> <input type="submit" ...
0
votes
1answer
15 views

fetch data from one controller to another

I have two controller as menucontroller and ordercontroller. I am passing the data from menu to order its ok, but while passing the same data it's adding one more line instead of increasing quantity. ...
0
votes
1answer
5 views

angularJS translation with pascalprecht.translate - language files

I use pascalprecht.translate for translating and I have a problem with the properties- filenames. I use the following configuration: (function() { 'use strict'; angular .module('aposoft.lang') ...
-8
votes
0answers
29 views

deploying a MVC4 application on Redhat linux [on hold]

Please provide me urgent Guidance to publish an MVC4 application on Redhat linux 7.0 servers.The project is Built on MongoDB, javascript, C#.net and angular JS. Provide the steps for much help on ...
0
votes
2answers
22 views

ngFocus not working in AngularJS

Following is my code snippet in which I need to focus an input field on the basis of checkbox value, If I check the checkbox it should focus the second element which somehow not working. Let me know ...
0
votes
0answers
12 views

How to handle multiple push notifications in android using phonegape plugin?

I am using phonegap plugin for pushnotification of android in ionic framework. I am facing problem with multiple notifications. When app is running in background it shows multiple notifications in ...
0
votes
1answer
5 views

Create object with dynamic key in expression of AngularJS v1

My attempts: <div ng-class="{ ['te'+'st']: true }">How to "Create object with dynamic key in Angular expression"?</div> <div ng-class="{ 'te'+'st': true }">Attempt #2</div> ...
1
vote
1answer
7 views

Protractor - Angular JS: cannot swicth to iframe in google maps

I am trying to test the google maps with cucumber & protractor. The google maps was rendered using the angular js. I am trying to verify the marker in the google maps. But i could not switch to ...
1
vote
1answer
9 views

How to set dynamically many event in fullcalendar in angularjs?

I want to set many event in my fullcalendar This is my controller: $http.get('http://127.0.0.1:8080/elodieService/reservations/'+$localStorage.idconsommateur+'/m', { params: { ...
0
votes
1answer
20 views

I am trying to make checkbox act like radio button with angularjs

I am trying to make checkbox work like radio button. When one checkbox is checked another checkbox should automatically uncheck. Can anyone show me how to do it. Example <label ng-repeat="role ...
2
votes
1answer
35 views

Remove element with specific id.. where my id comes from an angular expression

I am adding elements dynamically using an Angular directive as : .directive('myNote', function () { return { restrict:'E', scope:{ delete: '&', ...
0
votes
3answers
9 views

angular.js ngRoute Module is not refreshing the views

i really need help with ngRoute module because whatever i do - partials in are not getting updated. Basically this is my folder structure: https://gyazo.com/a5c7ce7e52687f525d8d1ffd718c9a5a ...
0
votes
0answers
6 views

Send push notification when user likes post pushwoosh + ionic

I am trying to figure out how to send a notification to a user when they have liked a post. I followed Arjun ionic + pushwoosh - medium but to no avail. Was wondering what I need to add to my ...
0
votes
0answers
4 views

MEAN environment: best practice for server-side multi-language support

Using a MEAN environment, I am developing a web-application (future API support for mobile apps is on the roadmap). I can’t decide which way to go when it comes to multi-language support for the ...
0
votes
2answers
17 views

IOC in AngularJS (1.x) - How can I achieve?

I'm looking for some way to add IOC to my angularjs application. My app is a multi tenant app and I need to use different services for different tenants with the same registration name. I'm using ...
0
votes
2answers
18 views

printThis.js sometime do not print content

I am using printThis.js and trying to print html using angularjs. My code is var myApp = angular.module('myApp',[]); function MyCtrl($scope) { $scope.Html = ...
4
votes
1answer
37 views

AngularJS Print Hidden Div

Recently a project has came around that I need to print a specific part of a page. Currently it is a dynamic accordion list that a user can expand and see results. The user has the option to print the ...
0
votes
0answers
7 views

Angular DataTables load content with $resource

I want to load datatables content via $resources API call. I'm able to call the url by using vm.dtOptions = DTOptionsBuilder.fromSource('contacts') But using a resource that is able to access to my ...
1
vote
1answer
34 views

How to send data as object in angularjs DELETE request

I am trying to send the ID of element to nodejs api using angularjs $resource delete method, The value is sending as parameter value how can I send that value as a body parameter? my code is like ...
0
votes
0answers
12 views

Different routing sets for logged in and logged out states in Angular 2?

I still haven't found an answer for my newbie question. I need two completely different routing sets for logged in and logged out states: Logged out: / -> Sign up form + sign in form in modal ...
1
vote
1answer
13 views

Testing framework for Angular within a Rails project?

I come across Karma and Jasmine when I search for testing framework for Angular.js. What is the best one for a medium Rails + Angular project? I am a beginner with Angular.
0
votes
0answers
12 views

I am not able to post data with $http.post to springMVC controller(RESTfull service), both angular and controller working on different ports

My angular code: var user={id:null,username:'data',address:'',email:''}; $http.post("localhost:8080/Myservice/adduser",user).success(function(data) { alert("data gaya"); ...
0
votes
0answers
4 views

angular spa and seo deprecating ajax crawling scheme

I'm about to build a frontend for an ecommerce website that interact with a soap webservice built in java. I would like to use angularjs because I've some experience with it, but so far I've just make ...
0
votes
0answers
13 views

Change picture from already selected pictures in Angular JS

Initially there will be set of images at left and right. if i click set image on left side. it will be moved to right side. right side column will show the selected pictures, left side column shows ...
0
votes
1answer
11 views

How to pass multiple parameters into Ui-grid filter in AngularJs

I have created a custom filter in AngularJs UI-grid.The filter is working fine with a single argument but when it comes to multiple values filter didn't work well.Please if any one knows how to pass ...
1
vote
1answer
8 views

JSON in CouchDB stange behavior

I've created updates handler in CouchDB with test code like this(before inserting in Couch I'm removing newlines): function (doc, req) { if (req['userCtx']['roles'].indexOf('editor') < 0) { ...
0
votes
0answers
13 views

Nested abstract state with Angular JS

I am trying to implement a nested abstract states with multiple views but the pages content is not showing: My app.js is the following $stateProvider .state('home', { templateUrl: ...
0
votes
3answers
25 views

What data should be returned from service to controller?

I am using Angular and defined a Service and a Controller. When there is an error I need to display a message to the user. Should I handle errors on controllers or on controllers and services? ...
1
vote
1answer
15 views

Restangular - _.contains() is not a function

If you have recently updated restangular through bower it will have installed the latest lodash - the new 4.0. However this is a problem as restangular/angular now throws the error - "_.contains() is ...