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

One directive with two names in Angular

Is there a easy way to assign two different names to a directive? Something like this: app.directive(['directiveNameOne', 'directiveNameTwo'], function() {...}); I have a directive which handles ...
0
votes
0answers
3 views

Add an extra get method in asp.net web api

I'm a very new comer to the asp.net web api world. I've got the basic understanding of get(), put(), post() and delete. In my application, I require two more get() method. An explanation is given ...
0
votes
0answers
15 views

How to modify and update data table row in angular js?

I m learning of angular js and i have found i issue . I m creating a new projects . i have some button edit , add, remove, if i click to my edit button than show all field but i want to show only ...
0
votes
0answers
5 views

Generate a pdf from html page by using jspdf in angularjs

I am trying to generate pdf from HTML table using jspdf.In this case the pdf is generated but the format is not suitable to original. This is my code. html code is <div class="invoice" ...
0
votes
0answers
3 views

How do I change the marker icon when hovered on the marker while using angular-google-maps

I am using the markers attribute from ngplante's angular google maps. I was able to trigger the click event and use a custom image for the markers. But now I need to change the icon on hover. Can ...
1
vote
1answer
13 views

Angular filter using ng-repeat

if you take a look at the plunkr http://plnkr.co/edit/ilNYwiTwJIwe5HwteErz?p=preview <select ng-model="query.type"> <li ng-repeat="tech in techs | filter : query"> I have a doubt- how ...
0
votes
0answers
8 views

implementing API with PHP vs Node.js with tincan API

Hei I am developing a web application for a online library management systems for a client (example), where teachers can assign books and students can read and rate the books. So i think its kind of ...
0
votes
0answers
13 views

Angular - Update scope when change in Factory data

I'm using a factory to poll a particular web service. This web service is used to update data any the factory. I initiate this factory in the main controller, and populate a scope variable through a ...
0
votes
0answers
7 views

Slide pages in ionic (images from json request)

I have a JSON which consists of image,title and description.(json of news) I want to create view that shows the image,title and description in a page. I should be able to slide the page to view the ...
1
vote
0answers
5 views

Firebase syncObject is showing redundant error in my Angular controller

I am building an app for a client who has, as one of their data sets a master list of all their members. I have the data coming in from Firebase and everything runs peachy, but it's not that DRY I am ...
0
votes
0answers
7 views

Change AngularJS version in Hawtio

I have Hawtio web console for Karaf (or JBoss Fuse) homepage and I also have an AngularJS app as a plugin in the Hawtio. Is it possible to change the version of AngularJS library built-in (or ...
1
vote
1answer
18 views

A first example from Brad Green's book “AngularJS” has a mistake

It seems to be so simple but doesn't work: <html ng-app> <head> <script type="text/javascript" src="lib/angular.js"></script> <script type="text/javascript"> ...
0
votes
0answers
9 views

Issue with dropdown menu in angularjs when used with a filter in ng-repeat

I created a simple dropdown menu and bind data using AngularJS. It works fine <table> <tr ng-repeat="r in msr | filter:search" > <td>{{r.MSR_NO}}</td> ...
-1
votes
1answer
11 views

laravel-angular-pivot table weird behavior

I'm using Angularjs for frontend and laravel to handle data from the backend. Everything is working fine except for the pivot table. I got 2 tables exhibitions(exhibition_id, exhibition_name), ...
0
votes
1answer
10 views

Using $interval inside Angular UI Router templateProvider

I'm trying to get my view template updated every 10 minutes. Using this setup in the state config doesn't work: .state('home', { url: '/', controller: 'landing', templateProvider: ...
0
votes
0answers
4 views

How to return from ngMockE2E and array based on a parameter in URL

I am using ngMockE2E and I want to mock returning an array based on the based in id. That is, I want a URL to come in which is ./api/sessionsByPresenter/101 and I want the return to be a list of ...
0
votes
0answers
21 views

My data binding works but my input ng-model isn't updating when I $update

If I do this {{newStore1}} and $scope.newStore1 = 'Owl Store';, when the page loads, the text says Owl Store. That data binding's all good. If I make an input box and give it the model newStoreName, ...
0
votes
1answer
14 views

Why doesn't a calculated amount update when the factory updates?

I have a simple factory like this angular.module('posBitcoinApp') .factory('invoiceData', function ($http, $interval) { var blockchainInfoExchangeRates = {}; var getLatestExchangeRates = function() ...
0
votes
1answer
14 views

AngularJS - display decrypted values using ngModel in inputs

Sorry for the bad title, I can't think of the right term for this so please read the following. Let's say I have an array of objects with encrypted values: // the values are encrypted $scope.fruits ...
0
votes
1answer
11 views

unable to get angular ng-repeat group by filter working with dynamic group term

I have been trying for days to get a working version of a grouping filter for Angular. The goal is to group and filter a list of items, using dynamic group and search terms. The end product will have ...
0
votes
1answer
22 views

asp.net mvc return url loop forever

Angular Routing: $locationProvider.hashPrefix("!").html5Mode(true); $routeProvider .when('/', { templateUrl: '/home/index', controller: 'homeCtrl' }) .when('/admin', { templateUrl: ...
-1
votes
0answers
22 views

Paginate by API response in Angular.js

I am getting Json Response as follows: { data: [ { _id: "an", name: "xux", isVerified: false, videos: [ ], photos: [ ], contact: { phone: [ ...
0
votes
0answers
8 views

Data binding using AngularJS to Metro UI CSS 'data-transform' capability

I am trying to use the Metro UI CSS library with AngularJS. I know that this can be done by wrapping the various Metro UI CSS scripted behaviors into custom AngularJS directives (something I am fairly ...
0
votes
1answer
23 views

node.js Error: unsupported charset “UTF-8”

I'm working through this tutorial. The view renders fine, but when I go to post a new todo I keep getting the error Error: unsupported charset "UTF-8" (it shows up both in my Chrome console and in the ...
0
votes
0answers
24 views

unable to tigger function through “onchange” on file input sometime

unable to tigger function through "onchange" on file input sometime <input type="file" id="{{doc_type}}" file-model="fileObj['{{doc_type.id_type}}']" ...
0
votes
0answers
12 views

Displaying an Incoming File to User for Manipulation Before Storage

I have an application that I have been integrating eFax into and as of right now, I am receiving a fax that has a single key value pair of xml : xmlDocument. In that document I am extracting a base64 ...
0
votes
0answers
13 views

Load specific div in iframe from external site in AngularJs

Problem Question - How to load a specific div from the external site into the iframe? I am aware of the Same Origin Policy and external Site belongs to me. How would I do this in AngularJs. I ...
1
vote
1answer
15 views

Setting attribute value of an element in camelCase using a directive

I'm trying to add an attribute to an angularJs element from a directive like this: element.attr('startOffset', val); But when I check the element, the attribute added is 'startoffset' where the 'o' ...
0
votes
0answers
8 views

Breeze Delete Parent with Guid PK and Children are Modified

I am trying to delete both the parent and the children entities in an Angular/Breeze application. The backing store is a code-first Entity Framework. The entities are as follows: public class ...
2
votes
2answers
24 views

Is there a good way to create a server on ipad? (Node.js or Jetty)

I'd like to build an offline Hybrid app using angularjs, can I create a rest server on local ipad? (Node.js or Jetty)
0
votes
1answer
10 views

Jasmine - TypeError: Cannot read property 'spyOn' of null

I am writing a unit test for a service with mocha/jasmine. My originial service is dependent on NodeSrv service. However, when I inject it in my unit test it doesn't look like it's really injecting ...
0
votes
1answer
13 views

AngularJS Advanced $resource Mapping

How can I use AngularJS $resource for more advanced API requests? I need to request the following urls: /schools/ /schools/1 /schools/1/books /school/1/books/1 For basic urls ...
0
votes
0answers
8 views

Angular UI-router history tracking in Ionic

I have a custom History Service that I am using to track history through my app, but I am having a problem with tabs. When going back in history, and the history is the 2nd tab, a second state change ...
0
votes
1answer
34 views

Avoid multiple src files in my html page

I have a website I'm working on in Visual Studio 2013 and I'm mainly using AngularJS 1.2.6. In my index.html I have a src line for each .js file which for 3 page is 6 lines, 1 js file for each ...
-1
votes
0answers
22 views

Directive link not running

I'm trying to use a custom validation via a directive, but its not working. If I understand correctly, console.log should be firing but its not. Here's my html <input name="defaultUrl" urltld ...
0
votes
0answers
23 views

Angular, jquery and MVC Ajax forms

I am trying to write a jQuery plugin that I can use to insert HTML retrieved from a server using Ajax into a page. This plugin is specifically designed to insert the response from an MVC controller ...
0
votes
1answer
15 views

How do I pass a form explicity as a function parameter

Angular 1.3.0. I am trying to use the $setPristine method on a form, trouble is I have multiple similar forms on the same page, each with a dynamic name. Every example of $setPristine I have been ...
-3
votes
0answers
23 views

Need to develop a single page online food restaurant which can search and show data using angularjs [on hold]

I am developing an online restaurant booking system, to book table restaurant using angular Java Script. It is easy to develop, but the complexity is that I am developing it using only single page ...
0
votes
0answers
19 views

AngularJS tagging with @ sign

i'm currently building an AngularJS project , more specific a IONIC project for mobile devices, i'm looking for a tagging module for Angular that let's me tag people with the "@" sign. Up to now i ...
0
votes
1answer
18 views

ng-show doesn't update when my radio model changes

I'm checking to see if the value of my radio buttons exists and then showing. I have a few radio buttons with store names and when the person selects a button, it shows the people from that store. ...
1
vote
1answer
19 views

Change JSON call with ng-click

I have the following problem and I just can't find a solution. This is my current JS file for Angular: (function() { var app = angular.module("dota2impetus", [ ]); ...
0
votes
0answers
12 views

Can I set multiple models to debounce without individually setting the ngModelOptions?

I have a form with multiple inputs that I would like to debounce. Is it possible to have them all debounce without invidiually setting ng-model-options?
0
votes
0answers
9 views

Alternative to recaptcha in AngularJS with JEE backend

I have a project with AngularJS in frontend and REST services with JEE, I need to use a captcha but I found only Recaptcha examples to use in AngularJS, due to security restrictions I can't use ...
0
votes
0answers
9 views

Angular JS web application scrolling jams in iOS browsers

I've built a web application that was operating fine until iOS 8 came out. A subset of pages began to jam and not scroll. I have been trying to find the pattern in the pages that scroll fine and ones ...
0
votes
0answers
15 views

Error in retrieving rest query (Json data) from yahoo finance in angularjs

I am trying to build a simple currency converter in angular using yahoo finance api. However I am stuck somewhere around rest query. I want user to input the currency format and amount and get back ...
0
votes
0answers
15 views

Getting query parameter in AngularJS Resource transformResponse function

I'm trying to create simple "database" in json file, and service for it with function to get specific item from json parsed array. I'm using sample modified code from angular tutorial: var ...
-2
votes
0answers
16 views

ngInclude and generated HTML

I just created a small app which generate HTML email signature with angular. I used the ng-include directive to separate my app and the email template content. <div ...
0
votes
1answer
17 views

Angular add element dynamically inside controller

I use the typeahead functionality from Sandeep Panda http://www.sitepoint.com/creating-a-typeahead-widget-with-angularjs/ Next I want to create from the selected value, a draggable element. The ...
0
votes
0answers
13 views

Label Won't Disappear with Input on ng-show

<input bs-form-control id="new_password" type="text" ng-model="device.new_password" ng-show="on_reset" ng-minlength="8" name="newPassword" label="New Password" ...
0
votes
0answers
10 views

Angular.js authentication redirect not working with Yeoman Angular-Fullstack

I am using the ngRouter and I am having in issue with the code below: # Add Video .when '/videos/:action', templateUrl: 'app/videos/videos-edit/videos-form.html' controller: 'VideosEditCtrl' ...