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 applications are also frequently known as single-page ...

learn more… | top users | synonyms (2)

0
votes
0answers
7 views

Create custom browser back action the Angular way

I am using angularJS in my SPA. I want to disable the default action of browser back button/android back button in my webapp and create custom actions for the same. Example case: I have a signup page ...
0
votes
0answers
5 views

angularjs conditional grouping for required attribute on form element

In my form, I need to do a validation based on condition for e.g I have a condition like if (amount > 50000) then from group1 (multiple form element) only one is required else from group2 all ...
0
votes
0answers
11 views

How to check selected time is within the given time range in Javascript

I need to determine if the selected times (start time, end time) by the user is in the array of appointment times. I get the appointment times from exchange web service and the output is : [{Status: ...
0
votes
0answers
6 views

Failed to instantiate module with webpack, karma and Angular 1.3.x

I have a 1.3.x angular app. I'm trying to migrate the app to work with webpack. Part of the strategy was to first get webpack to run and then modularize files. Therefore, currently I have all my files ...
0
votes
1answer
16 views

Changing theme color of the webpage

I want to change three fields of webpage(i.e. header, menu, footer) with three different colors after clicking on a single button. If i use onclick() function it only change only field color or it ...
1
vote
0answers
12 views

Update inner array value

I have mongoDB content as below: [ { "_id":{ "$oid":"57c6699711bd6a0976cabe8a" }, "ID":"1111", "FullName":"AAA", "Category":[ { "...
0
votes
0answers
5 views

Angular 2 Jsonp Err 200

Using my jsonp call below, I get an error Response with status: 200 Ok for URL. If I understand correctly, this means that my get request actually worked. However, my method of calling the data didn't....
0
votes
1answer
18 views

Password validation not working in Angular

Hi I am trying to validate password using ng-show and error messages are displayed even though the password is correct and also are displayed on page refresh. My code is : Form name is : ...
0
votes
1answer
6 views

fire ng-change in select option in ng-repeat table row angularjs

i wan to fire ng-change in select option in ng-repeat table row to set the Unit Price against the Item Selected but ng-change event is not firing in editmode here is my code: <table id="tblDetails"...
0
votes
1answer
13 views

Undefined is not an object (evaluating 'value.phrase.replace')

My unit test keeps failing with the following error message: LOG: 'f40e0e47-6457-463b-a5f9-9dc97bd2d0ce' LOG: [Object{phrase_id: 'f40e0e47-6457-463b-a5f9-9dc97bd2d0ce', phrase: 'Training {{group}} to ...
0
votes
0answers
6 views

angularjs - bootstrap typeahead is not working when user types very fast

I am using typeahead where on typing its showing suggestions in a search box, while suggestions are getting from the server. Its working fine except when user type really fast for example if we type ...
0
votes
1answer
7 views

How to do a checking/condition after ng-change in a dropdwon

I have the following drop-down button <select class="input-block-level" ng-model="final_select" ng-options="l.id as l.name group by l.group for l in ...
0
votes
1answer
9 views

How to get calculated values result and add new row

i have three inputs , am subtracting values in two inputs and binding result in result input . but i want to add new row on button click, i tried giving ng repeat in tr but not working var ...
1
vote
0answers
9 views

yahoo login with angular js

I want to do yahoo login using angular js. i have found one solution https://github.com/sahat/satellizer in that with php for the login with yahoo is not provided.(as i am using php in server side) i ...
0
votes
0answers
8 views

Ionic scroll Performance issue

I am developing application in which I have feeds or some timeline. here is my ng-repeat code: <div ng-repeat="x in feeds" class="fd-feed-card"> <div class="fd-feed-usr-img"> &...
-1
votes
0answers
12 views

FileReader object is returning undefined?

angular.module('myapp',[]). .controller("UploadController",['$scope' ,function($scope){ $scope.uploadedFile = function() { var file = document.forms['myForm']['achFile']....
0
votes
4answers
23 views

Wait for $http.get to finish when the service is called

I am facing a problem where the controller calls the service function getMyList but myLists is not populated yet as $http call takes some time to complete. How do I resolve this problem? Here is my ...
0
votes
2answers
14 views

Not able to display the contents in the drop down

Im using ionic to develop an app.Here Im trying to cascade drop-down box and list, so that when an option is selected from drop-down the list will display options related to the selection made in the ...
0
votes
0answers
6 views

Display content after creation and loading of all elements in IONIC FRAMEWORK

I am using ionic framework for creating apps. In my current project, i am calling many different API in one particular page. ion-content elements should be hidden by default(it should show ion-content ...
1
vote
1answer
10 views

Datatable with client side pagination in AngularJS

I'm using jQuery Datatable in my application by default REST will sends only first 10 records along with that it adds pageCount if i add the page number to REST URI again it will sends next 10 records....
0
votes
0answers
9 views

unable to create ui-router structure using angularjs ui-router

I want to create the ruting structure in my project for notAuthenticated and Authenticated views. So, here is the structure.. level1 - Noauth.html (abstract) Level2 - Login, Register (child views) ...
1
vote
3answers
43 views

Using jQuery and AngularJS together?

I'm new to AngularJS, and this project pushes what I already know about using ng-repeat and controllers. Goal of this project: To make it so when you select an option from the drop down menu and ...
0
votes
2answers
42 views

Why my POST return [object Object]

I'm new in Angular js and I don't know if my POST is working. It returns an [object Object]! What kind of error this? I mean if POST is working is there something wrong with the form? //Activity ...
0
votes
0answers
3 views

Angular material autocomplete does not auto close on document blur

Natural behaviour of an input field when you click on the 'body' of the document, is to blur the element. However with the autocomplete directive on desktop this works, but on mobile it never lets you ...
-2
votes
1answer
12 views

angular ui-router- ajax call on load

We are developing an single page application using angular JS and I am using state provider for configuring routes. Basically there is a global navigation view and a dashboard view. I have to pass few ...
-1
votes
0answers
19 views

Angular history call stack issue

Issue: tab 2 route calls child-route 1 of tab-1. I can no longer access tab-1 route when I click on it due to the history stack now presenting me with child-route 1 everytime i visit it. tab-1 ...
0
votes
2answers
15 views

File uploads fails when file name contains space

I have googled this question but did not find an answer. I am using the ng-file-upload Angular directive to upload images to my back-end. At the back-end I am using php to retrieve the image. It works ...
0
votes
0answers
11 views

The position error with mdDialog in AngularJS

I am using mdDialog in Angular Material in my project, but using two different way: Way 1: $mdDialog.show($mdDialog.confirm() .ok('Submit') .cancel('Cancel')); This use the default ...
0
votes
1answer
23 views

Comes up message that is “Cannot read property 'prototype' of undefined” after bower install

Chrome console show the massage above pnotify.animate.js:1 Uncaught TypeError: Cannot read property 'prototype' of undefined(anonymous function) @ pnotify.animate.js:1(anonymous function) @ pnotify....
0
votes
0answers
19 views

Angularjs javascript pass data to php in order to delete specific data

After user click on delete button, my javascript is get the specific variable that user want to delete. Next, I am going to pass the variable to php in order php can delete specific data from MySQL. ...
0
votes
0answers
8 views

Protractor iframe element is not found / not visible

I am writing an e2e test with Protractor that requires accessing an iframe element within an Angular 2 application. I believe I have successfully switched into the iframe, but for some reason, the ...
0
votes
1answer
14 views

hide an ion-item inside poperoverlist using ng-if

i am trying to hide an list item based on a contition...........but it is not working as expected......i initialized tof(variable) as false but the item always remains visible irrespective of the ...
0
votes
1answer
20 views

Naming a named function in an angular controller

So I've been using named functions like this on my projects: angular .module('meanhotel') .controller('HotelsController', HotelsControllerFn) //HotelsControllerFn.$inject = [''] function ...
0
votes
0answers
17 views

How to register custom culture in Azure?

We have an application(built with Angular + ASP.Net Web API) in which I have to support cultures for USA,UK,New Zealand,South African,Papua New Guinea(PNG),Fiji etc.But I just realized that Microsoft ...
0
votes
0answers
10 views

Title and Meta Description built using AngularJS doesn't work in Social Media

Whenever I shared website link in facebook, twitter or anywhere, I get the following: {{title}} {{metadescription}} When I inspect element using Chrome, I can see the Title and Meta Description ...
0
votes
1answer
7 views

Preselected Angular data does not show up in Select2 multiple select menu

I have a project that uses Select2 (4.0.3) and Angular (1.4.9). One of the forms, which uses an Angular controller and two-way data binding, loads a contact model, which contains many sites, and a ...
0
votes
0answers
17 views

Front end request got data but back end didn't send anything

It's too weird that the back end sent nothing but front end got data. When I try to login and logout an account, the session in the back end will be cleared, but even if after removing the session, ...
0
votes
1answer
15 views

UI-Router: Height:100% on body element ignoring nested view height

I'm building an angular application that frequently uses nested views. Certain views, however, are taller than the other elements on the page and end up extending well beyond the end of the parent ...
0
votes
0answers
10 views

scroll to bottom of the page in AngularJS not working? [duplicate]

want to show last message bottom of the page after open page using angularjs. or when send message show message on bottom.Basically, I am displaying messages on bottom of the page and I want to focus ...
-1
votes
0answers
20 views

Filter producing wrong results Angularjs

I have a filter like : $scope.Approved = $filter('filter')($scope.Summary.CorpEmployees, { locationId: item.Label, evaluationStatusId: '3' }); For some reason the filter is pulling the records ...
1
vote
1answer
38 views

jQuery get attribute of clicked element when content is dynamically generated

I am working on a site where a lot of content is generated dynamically using AngularJS. I need to get the attribute of an element that is dynamically generated using jQuery, but I am having trouble ...
2
votes
0answers
9 views

angualar Smart table filter state save dropdown doesn't restore properly

I have followed the instructions in the documentation regarding persisting the filter state. (http://plnkr.co/edit/ekwiNt?p=preview) When re-loading the page, the table state (including filters) is ...
0
votes
1answer
20 views

Returning response of spring controller to the angular js

I am trying to pass the response of my rest controller when a user tries to signup the form to my java script whether username is available or not basing upon the returned statement by the spring ...
0
votes
0answers
2 views

Pusher with angular in laravel5.3

I want to broadcast event with help of pusher in angular and laravel 5.3 and broadcasting is not private. First when page refresh the console message of pusher is given below : Pusher : State changed ...
0
votes
0answers
8 views

Create multiple instances of ag-grid dynamically via Angular

I'm attempting to replace some tables with ag-grid elements. The tables each represent a set of unique data and as such can't be merged. The question is, is it possible to create multiple, ...
0
votes
1answer
20 views

AngularJs - Make use of Object in top level controller

I have several controllers with my AngularJS application. Main Controller // --- Top Level Controller --- (function () { 'use strict'; angular .module('shop') .constant("getDataUrl", "../...
0
votes
0answers
14 views

Best Platform for WebGL apps on mobiles [on hold]

i am looking for a platform to publish a webgl client application on ios and android. The app is using angular.js and websockets wich must be supported by the platform. Its developed in javascript (...
0
votes
0answers
10 views

ui-grid multi different selection criteria

I'm creating an angular ui-grid table. Here's a link! app.controller('MainCtrl', ['$scope', '$http', '$log', '$timeout', 'uiGridConstants', function($scope, $http, $log, $timeout, uiGridConstants) { ...
-1
votes
0answers
21 views

Displaying column data in rows in AngularJS

I am new to angular, i have a requirement of filtering data in an array at multiple levels and display them in a table I am able to display data by filtering with PhaseID shown in below image but i ...
1
vote
0answers
25 views

ui-router, component won't bind with child state

That's probably a newb question, I'm just getting started with angular/uiRouter, I'd be glad if anyone with a more experienced eye can point me in the right direction. I am trying to bind a component ...