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

How to I change this code from UI Route to the core ng-Route

I bought a template from wrapbootrap, however the code provided there used the UI Route plugin. The ui route is excellent because you can have states, views, nested views. However it doesnt work with ...
0
votes
0answers
6 views

Directive to directive communication?

I have a page with two directives. 1. Directive that lists items , these items have a property on them call url 2. a directive on the same page that accepts url and displays it What I want to do is, ...
0
votes
0answers
11 views

AngularJS. Add item in a sequence of strings to input field

I'm moving a jQuery webapplication to Angular. The application basically uploads files to a server whence they can be downloaded by logged in customers. Each files is stored under a category and ...
0
votes
0answers
15 views

“Get Authenticated” loops forver on initial startup

Whenever I first load up my angularjs application, I get a blank screen and this attempt to check if the user is authenticated in a never-ending loop. For this project, I am using sails version ...
1
vote
1answer
12 views

why alert is not display in angularjs

I am trying to use require js in angular js project .I am able to show view but issue is that I am not able to get alert on "Login" button click .Actually I show One alert on button click . Here is ...
0
votes
0answers
4 views

How to create the directive necessary to use jquery maphilight in one of my partials in angularJS

one of my partials has an image map that i would like to be able to highlight using maphilight and I dont understand how to create a directive that would properly implement this. I tried adding this ...
0
votes
1answer
22 views

call a function when user scrolls near bottom of page

I have an array of objects , but I do not need to see all , I want to create a InfiniteScroll and make requests for every 8 items, my problem with JQuery is, the method call the function like 8 times, ...
0
votes
2answers
13 views

Angular: cannot read property 'then' of undefined

I have a service upload imageto amazon s3 after i sign it with my own backend using cordova file-transfer plugin. I call this service after taking a picture using cordova camera plugin to upload the ...
0
votes
1answer
10 views

How to call a custom directive's action in AngularJS?

In AngularJS you can make a button to call an action like this: <div ng-controller="myController"> <button ng-click="onButtonClicked()">Click me</button> </div> So, I'm ...
0
votes
1answer
18 views

Why can't I create a string for transform:translate in Angular.js?

I'm trying this $scope.graph.transform = "transform: translate(" + $scope.graph.width + "," + $scope.graph.height + ");"; All I get from ...
0
votes
1answer
28 views

recursive function with an array as input

I am trying to create a function that gets chest exercises from an array called chest. This function needs to be able to pick several exercises at random, which I have done using a random pointer. To ...
0
votes
0answers
20 views

AngularJS Template not rendering in safari?

Ok, so I was asked by a colleague to take a look at a module they had written to show an instagram feed of their account on the website. The module works fine in Chrome, IE, Firefox, but NOT in ...
0
votes
0answers
11 views

Binding strings in a unique search textbox to different fields of a Django model class, with typeahead fashion

My tech "stack" is the following: Server side Django Django REST Framework (for API endpoints) Client side AngularJS Target: I would like a unique textbox where user could search an item by ...
0
votes
0answers
3 views

Fire leaflet marker dragend action on load

I am using Angular Leaflet Directive and have the defined the below to occur on leafletDirectiveMarker.dragend'. I would like this to also fire once on load, when the page has completed loading. What ...
-3
votes
0answers
18 views

Security Concerns for PHP and AngularJS

What are the security concerns with PHP over AngularJS? I've been lead to believe that PHP has large security concerns when it comes to interacting with SDKs (like the Facebook API, Parse API, etc), ...
0
votes
0answers
8 views

grunt-angular-templates and usemin - unexpected end of input

Okay, I've spent HOURS trying to debug this and I've got nothing. I'm using Yeoman's angular-fullstack generator and its out-of-the-box Grunt tasks. Here's the Grunt config: // Package all the html ...
0
votes
1answer
21 views

Angular ng-grid doesn't refreshes when modified from modal

On the page, I have some textboxes and a submit button. Based a values of textboxes and button click, a grid is displayed. The grid has some columns followed by a column which contains delete button. ...
0
votes
0answers
3 views

BreezeJS modify a default key

I am using breezeJS with Entity Framework to provide input labels for user input fields, using a ui-bootstrap modal dialog. Because I need an initialized entity, I also need to provide the entity with ...
0
votes
0answers
2 views

ion nav view 3 level nesting problems

I am trying to implement 3 level nesting using ion-nav-view. However, I am not able to implement in completely. The first problem is that when I click on the 'Insights Type 1' or 'Insights Type 2' ...
0
votes
1answer
18 views

Angular / Express hosting

Newbie question. I want to run angular on a linux box without needing node or express. I've created a website but not sure what tech is what, haha. I'm assuming I have a simple web server using ...
0
votes
1answer
12 views

Source Map Behavior — how to view original javascript before minification

I have built a test app with gulp-angular. I think source maps are generated automatically. After I build the app, when I look at the vendor-xxx.js, it looks like: /*! ...
0
votes
1answer
19 views

Uncommon “10 $digest iterations reached” case

Abstract Hi, I think everyone has faced a problem entitled “10 $digest iterations reached”. Typically it is caused by recursively changing angular expression that never stop from changing or when ...
1
vote
0answers
27 views

Angular Datatables sorting text inside hyperlink instead of href

I am attempting to sort a column alphanumerically that contains an anchor tag which seems to be 'intercepting' the sort function. It looks like something along the following lines: <tbody> ...
0
votes
1answer
27 views

Asp.net 5 / MVC 6 / Identity - Allow API login to my app

I have a nice asp.net 5 / MVC 6 app up and running. Essentially for this purpose it is just the normal sample app you get when you start a new project to keep it simple. So far I can: Register a ...
1
vote
1answer
42 views

Problems populating js array with JSON

I'm trying to list some products in DOM from an js array I populate using Angular's $http.get() function. The JSON reply from php works fine, I console.log the data and its JSON formatted as how it ...
0
votes
1answer
31 views

AngularJS: passing complex json data using $http.post

I'm having trouble passing a complex json object in angularjs with $http.post. I'm keep getting a 400 bad request error sent back from the server saying the request was syntactically incorrect. I ...
0
votes
1answer
24 views

dropdown list howto have default selected with angular

I've created a dropdown list via: <li> <a href="#" ng-click="check(default)">defaul_label</a> </li> and simply styling so it drops down well, so all my items loop ...
1
vote
1answer
13 views

Custom Headers for $resource - AngularJs

Hi I am new to Angular JS, I am trying to put custom header in my $resource method, but I am not sure how would I do that Following is my code : function userFactory($resource, API) { return ...
1
vote
0answers
41 views

AngularJS - binding/linking two directives together

What is the preferred way to link/bind two directives together? I have a controller with two directives, first directive is a select element, after selecting option, second directive should process ...
0
votes
0answers
18 views

Angular and DevExtreme

Im using Angular Approach for DevExtreme. I'm just trying to run this code, but so far, I didn't get run. This is my HTML: <!doctype html> <html ng-app="myCalc"> <head> ...
0
votes
3answers
36 views

Format time in angular js filter

How can I reformat time 06:31:04 to display only hh:mm - 06:31 Have tried $scope.date = '06:31:04'; <p ng-bind="date | date:'HH:mm'"></p> but time not formatting How should I make ...
0
votes
1answer
12 views

Angular submit not called when required fields not filled

I'm creating a form in Angular with Ionic. I don't want a red error class to be displayed unless a user has submitted the form. As such, my code looks like this: <form ng-submit="submit()" ...
1
vote
1answer
10 views

Angular / Meteor: Array is undefined

I'm building an Angular / Meteor application, using Meteor's reactivity to populated an Angular model. It is all working fine until I start working with arrays. // get sentence $scope.sentence = ...
0
votes
3answers
11 views

Why I cannot access form angular's properites in JS such as $error?

I cannot access angular's Form members. I don't have a clue why. I'm using angular 1.4. The full code is at: http://jsbin.com/lujojiduru/edit?html,js,console,output ...
0
votes
0answers
6 views

How to use typeahead-on-select in Angular JS?

I use typeahead-on-select from bootstrap Angular JS. Now I have writtem HTML code: <input type="text" ng-model="data.country[formData.country]" placeholder="Select country..." ...
1
vote
1answer
19 views

Custom directive scope vs attrs

I have one concern when creating a custom directive in angular. When I'm using a link function, I'm not sure what is the real difference when accessing attributes with attrs or scope. Let's take this ...
0
votes
2answers
17 views

unable to return array list from the javascipt function in angularjs app

This is my link in mvc view and it is redirecting to details view by invoking function call. pls see below. <a href="/Home/Details" class="label label-primary" ng-click="addTask(c)">View ...
0
votes
0answers
8 views

Using rowTemplate in Ui.grid is disabling selection in angularjs

I was using ng-grid to show my data in my angularJs project since 6 months now and recently i am trying to use ui.grid instead ng-grid.I am finding it difficulty in implementing the row template that ...
1
vote
0answers
15 views

AngularJS not intercepting direct requests from Address Bar

I'm creating an AngularJS application that uses the JWT token for authentication. The token is being passed using the AngularJS interceptor as shown below. 'request': function(config) { ...
-2
votes
0answers
15 views

Correct usage of CRUD services from AngularJS to Rails

I'm fairly new to combining AngularJS on the front end and having a Rails backend. I'm currently confused on what tutorials to start with. The functions I'd like to call are: Form submission; ...
0
votes
0answers
16 views

Change a controller variable when $stateChangeStart

I'm using UI-Router and I would like to change a variable defined in a controller, every time my state is changed .run(function($rootScope) { $rootScope.$on('$stateChangeStart', ...
0
votes
0answers
15 views

Highcharts event redraw/load with reflow, and Angular

I'm using Angular Highcharts, although I don't think it makes a lot of difference in this case. I'm using a responsive design, and the chart appears before it "figures out" the size of the parent ...
0
votes
1answer
8 views

Form values coming Null using AngularJS and Spring MVC

I am building a simple application that uses Spring MVC and AngularJS. The problem is that the values of the forms are coming null. The code is above. MockController.java @Controller public ...
0
votes
0answers
33 views

Managing/saving a (nested?) 2d data array with Angular

Let's say I have the following arrays: var a = ["Sample A", "Sample B"]; var b = ["X", "Y", "Z"]; Now let's say I have a button that, when clicked, generates the header of a 2D table, like this: ...
4
votes
3answers
33 views

Get rid of blank entry in select tag

I have a number of items that get their data from a Json object and populate it using angular. <select ng-model="MyCtrl.cargoList"> <option ng-repeat="cargo in MyCtrl.cargoList">{{ ...
0
votes
1answer
14 views

How to highlight areas in an imagemap on hover in a partial html file with AngularJS

I have set up a single page web app using AngularJS and in one of my partials I have an imagemap and would like to highlight the areas on mouseover. Ive tried searching around trying to figure out how ...
0
votes
0answers
13 views

How to put dropdown select in the angular select with ng-change?

I put a directive to the dropdown, but when I select a state does not change the dropdown and ng-change. <select class="slc-state" data-ng-model="state" data-ng-options="state.name for state in ...
0
votes
1answer
14 views

how to print json array object array in angularjs and html

angularjs controller controller('ToCookDishCtrl', function($scope, $http) { $http.get("api/index.php/tocook/getDishes") .success(function (response) {$scope.ToCookDishName = response.records;}); ...
0
votes
0answers
4 views

firefox addon using angularJs

html file: <html ng-app="IDAddon" ng-csp> <head> <link rel="stylesheet" type="text/css" href="styles/angular-csp.css"> <script src="lib/angular.min.js"></script> ...
0
votes
3answers
29 views

Storing as key value in Json Angular js

This is my script File.. app.controller('userController', function PostController($scope, userFactory) { $scope.users = []; $scope.user = { items : [] , ...