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

Istanbul for use with Karma on project with Browserify

I'm looking to install Istanbul for use with Karma to generate code coverage reports on a project which uses Browserify. There doesn't seem to be any comprehensive tutorial available on how this is ...
0
votes
0answers
3 views

How to use pyjade as part of clientside and serverside application?

I'm creating a single page application using flask. If I understand the process correctly, then ill be having flask serve up a single page (html and css) upon the first GET request. From their, the ...
0
votes
0answers
5 views

Loopback - Include roles in User.login() and User.getCurrent() Angular SDK

I'm currently writing an administrative interface using the Loopback Angular SDK. After having dug through the documentation and code, I'm still no wiser as to how to include the user's roles in the ...
2
votes
0answers
28 views

Get image data from HTML element

I've come across a few questions here that gave me some hints for a problem I'm currently having, but none seems to actually fit the bill. I'm currently working with an angular module, ngCropper ...
0
votes
0answers
7 views

How to hide and remove active class from other groups of list-item by click on a list-item with angularjs

There are three columns. First one is for parent lists, second one is for Child lists and last one is for Grand Child lists. In HTML structure, those three columns are not linked. Considering each ...
0
votes
0answers
9 views

IE remove 4 hours form date when convert string to date

I have angular app it work fine with chrome but I have small bugs in IE one of them is date object is not convert it right date time ? on chrome it convet string '2015-04-09T12:30:00' to 'Thu Apr 09 ...
0
votes
0answers
11 views

AngularJS - Inject a service into index.html

I have some configuration values that vary from environment to environment. I need access to them in the index.html file because it pertains to Google Analytics. I have an Angular service to provides ...
1
vote
0answers
21 views

AngularJS Filter is not working as expected

Right side Bajra atta, Besan, Corn Flour .. are subcategories. Index.html <body> <div class='container'> <div class='row'> <div ...
0
votes
1answer
16 views

Angular http-server page refresh 404s

I have an angular app with a controller routed like so: controllers/favorites.js ... $stateProvider.state('app.favorites' {url: '/favorites'} ...); index.html ... <a ...
0
votes
1answer
9 views

Express + Angular update route: Error: Cannot PUT

I'm trying to update a schema using form, however, both on app.put and app.post (which I've seen as a possible solution) i get PUT https://myapp-demo.herokuapp.com/api/events/5523da4d97c5000300f6e713 ...
0
votes
0answers
7 views

Foundation for Apps and ng-token-auth integration

I have a "Foundation for Apps" application which I would like to extend with authorization. On the server side there is a Rails application running with the "devise_token_auth" gem. I managed to ...
0
votes
0answers
8 views

Jasmine support for testing method logic that runs after a returned promise

I have a java script method I want to test. It looks something like this (this is simplified psudocode, forgive typos) $scope.savePerson = function(){ ...
0
votes
0answers
8 views

Angularjs proceed with server call even if CORS does not allow a header value

I have an AngularJS application that talks to various java services. In the application I have a global http header setting in an http interceptor. That means all the service requests from my ...
1
vote
1answer
14 views

Update ng-class with function later ng-click asyncronous

Update ng-class with function later ng-click asyncronous. I can not get the call to the function $scope.addedProgram refresh the view. Any suggestions? In the view I have an icon that is updated ...
-1
votes
3answers
28 views

How to get the selected value of some random dropdown in Javascript/jQuery

<select ng-model="myModel" id="searchAsset" class="search"> <option ng-repeat="asset in assettype" ng-click="assetclick()" value="{{asset}}"></option> </select> ...
1
vote
0answers
13 views

AngularJS - How to take action only on combination of multiple events

I am working on an AngularJS app. This app constructs a complex table of part information with filtering and sorting, etc. The table gets built using two ngRepeat directives. One of them hits a JSON ...
1
vote
0answers
18 views

How to place ng-pattern to allow special characters in username of a Form?

i have place it like this ng-pattern="/^[a-z]+@+[a-z]*$/" but it is allowing only one type of special Charter to be place at required place but i want any of the special charcter as those of we use ...
1
vote
1answer
33 views

AngularJS - service property not updated in controller / view

beginner in AngularJS, I'm facing a problem of service property not updated in the controller/view if I construct the new value with "{ ... }". But if I'm updating it inline with userInfo.... = ...
0
votes
0answers
8 views

“Microservice Architecture” doubts and suggestions on my architecture

So, I'm developing an app that is based on microservices architecture. I've wrote an API that deliver the resources of my app, but some of the data that my API use is in some 3rd party APIs. What ...
0
votes
1answer
15 views

How to use Angular-fullstack without server components?

I really like the way Angular-Fullstack scaffolds the project. But I already have data served through a restful API. So I don't need any server components. Is there a way, I can only use the client ...
0
votes
1answer
6 views

angular x-editable deselecting selection to clear text input not working

My Fiddle: http://jsfiddle.net/bphein1980/krdzyuhx/2/ My Problem: I have x-editable form rows with a couple selections and text inputs. When the selections are deselected (empty), I want the text ...
0
votes
0answers
14 views

Function when scope.$last or “empty scope”

I created a directive: .directive('repeatDone', function() { return function(scope, element, attrs) { if (scope.$last) { scope.$eval(attrs.repeatDone); } } }) to show a spinner ...
0
votes
0answers
11 views

angular JSON_CALLBACK not working

Wasup guys, I just got some wired problem with angular $http.jsonp(). I followed people's advices and changed the url from ...
0
votes
0answers
15 views

How to enable and disable checkboxes in kendo treeview?

I have a logic when user select parent i want to disable children nodes,So with below implementation when i select parent checkbox all parents and child are disabling. I just want to disable related ...
3
votes
2answers
34 views

Angular - how to pass ng-model from ng-repeat to a function and to scope

I have the following code: <form ng-submit="addRow($index)"> <input type="text" ng-repeat="column in table.columns" ng-model="column"> <input type="submit" value="add row"> ...
0
votes
2answers
28 views

How to conditionally change orderBy parameter in angular?

I have a table row with an orderBy parameter. How do I change it to another parameter based on the value returned by a method? This is what my tr looks like - <tr class="pl" ng-repeat="thing in ...
0
votes
0answers
10 views

how to cluster markers using angularjs and leaflet

I am using AngularJS and leaflet for my project where lots of markers making the map messy, I would love to markerCluster with angular, I followed this but I am unable to find leaflet.markercluster.js ...
0
votes
1answer
23 views

angularjs $watch get index of changed array item

i have an array that consists of multiple objects. $scope.userCompetences = []; Now i have a deep watch on this array to check for changes: $scope.$watch('userCompetences', function ...
3
votes
2answers
33 views

ngShow not working from a template on HTML

I have a problem to show and hide a div from a template on HTML page. here is a simple JSFiddle example Example. app.directive('example', function () { return { restrict: 'E', ...
1
vote
1answer
25 views

Angular, function in a (model) factory to return values

I have a factory I am using for a model that is working great, I am trying to set up a function inside of it to return a value when called, and can't seem to get it quite correct. Possibly syntax, or ...
0
votes
0answers
10 views

AngularJS smart-table global config implementation

table. For displaying buttons I am using this part of code,with a template <ul class="pagination"> <li><div class="pageNumberClass" st-pagination="" ...
0
votes
0answers
12 views

UI Grid: Get value of row before saving edits

I need to get the original value of a row when someone starts to edit it. Guess the beginEditCell method of http://ui-grid.info/docs/#/api/ui.grid.edit.service:uiGridEditService is doing exactly ...
0
votes
0answers
9 views

Download PDF Document using Httphandler from AngularJS

I have developed a httpHandler to fulfill my PDF download which uses angularJS. It was working fine until i moved the service part into different domain. When i moved the service part into different ...
0
votes
1answer
58 views

How to create a method to validate the range of an Array?

I have an object with some properties. I want to create a method that returns if the position of an array is in range, but I didn't know how to create it. (I'm trying to make the Minesweeper in ...
0
votes
0answers
17 views

Is there anyway to add an ng-click to md-backdrop?

I have an angular app that needs to switch states when a sidenav is opened or closed. This works fine when opening the sidenav and closing it via a close button. However I need to attach an ng-click ...
0
votes
1answer
44 views

Why is my controller not firing my function.js script

I have function.js script which includes onClickClear() and onValidate() functions, but they are not firing at all. I injected the loginCtrl in the function but it still does not fire the ...
0
votes
0answers
6 views

Angualr js Kendo tree view with uploading file

I am using a kendo tree view in my project to show folder and files to user. I need to implement a feature of uploading file to any folder. For example if user drag and drop an image to kendo tree ...
1
vote
3answers
33 views

Custom Directive Not Showing

I have the following custom directive inside my ng-repeat: <action ng-click="addToCart('event', d, type.id, $index )" text="Hey!" state="ready"></action> action.js: (function() { ...
5
votes
0answers
30 views

Can I get $log to log the source code location of my call, instead of theirs?

Here's something typical resulting from using $log: If I would just use console.log, I would see the source code location of my call in the console. When using $log, I see the location of their log ...
0
votes
0answers
37 views

How to test watchers of a service inside a controller in AngularJS

I have the following controller, and I don't know how to test the watchers: The watchers are "watching" a service to change, and upon that change broadcast on the rootScope an event with the value ...
2
votes
0answers
22 views

Angularjs Pass Function To Treeview Directive Isolated Scope

I am trying to pass pointer of function into directive. But function called only on root nodes. Here is the code of directive: (function(l){l.module("angularTreeview",[]).directive("treeModel", ...
0
votes
1answer
32 views

alternative for .first() in jqlite

I have created a drop-down using angularjs directive, the directive is working fine, right now I writing all the css within the directive itself, In one of the feature when the mouse hovers the ...
0
votes
1answer
34 views

how to make On hover the purticular div should hide and one more div should display in angular?

Here is fiddle https://jsfiddle.net/awkacLrj/ The issue initially the class="vote-card-hov" should be display:none. When i hover on "VOTE" class="votepop" Then the whole class="vote-card-hov" ...
0
votes
1answer
19 views

Angular Bootstrap: Tooltip placement based on function

I'm using the Angular Bootstrap Popover: <button popover-placement="top" popover="On the Top!" class="btn btn-default">Top</button> If using default Bootstrap JavaScript, it's possible ...
-1
votes
0answers
4 views

ngInfiniteScroll implementation with http service ASP.NET WEB API

I'm currently building a SPA using Angular JS with ASP WEB API 2. Could someone please share their thoughts on implementing the angular ngInfiniteScroll with a $http service. Currently i am using ...
0
votes
2answers
27 views

How to deploy AngularJS app using nginx + docker to Elastic Beanstalk?

So I'm in the process of deploying an AngularJS app to an AWS Elastic Beanstalk instance. I've successfully configured the build requirements, which involves uploading a Dockerrun.aws.json file ...
0
votes
0answers
9 views

Data binding not happening for partials loaded in osx window

For osx window type of web application i have used jquery library https://github.com/collonn/jquery-osx/tree/master/osx i have created 2 windows in page1controller and page2controller init methods. ...
1
vote
1answer
17 views

Redirect a state to default substate with UI-Router in AngularJS

people. I'm creating a tab based page which shows some data. I'm using UI-Router in AngularJs to register states. My aim is to have one default tab open on page load. Each tab have sub tabs, and I ...
1
vote
1answer
19 views

How to change the values from child window textbox which reflects on parent window records in a table?

What i need is when i change the value from child window textbox the reflect should appear on parent window records in a table......And here is my parent.html -----index.html-------- ...
0
votes
0answers
14 views

Show the nearest route for a branch in angularjs/google maps

I have created a map to show some branches to a shop with angularjs.i have created a array of branches and i have shown them in my map. $scope.locations = { BranchAndAtms: [ { ...