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

How to set start page dynamically

I have an Onsen UI app with an ons-navigator. What is the appropiate way to set the first page to be displayed dynamically on app start? The page to be displayed will be chosen depending on some ...
0
votes
0answers
9 views

bower resolution caused app crash - how to roll back

I've installed ngSanitize with bower. It caused Bower to suggest me updating from AngularJS v1.3.0-rc.3 to AngularJS v1.3.8. There were a lot of changes, and some of them seem to be the reason for ...
1
vote
1answer
10 views

How to test a method which returns a promise in sinon?

I have the following controller: app.controller('SearchVideosController', function SearchVideosController($scope, videoRepository) { $scope.DoSearch(id, text) { // Do some work... ...
1
vote
1answer
16 views

AngularJS + Bootstrap + Filter

I'm trying to filter an user list. I'm using a custom Bootstrap version and want to display a 4 columns table. So far, I've the following code: <div ng-repeat="user in users | filter:searchValue ...
0
votes
0answers
7 views

Windows App / IE WebApp GET Request only sent once

Just like here I am having some super weired problems with IE 10+, c# and Windows Phone 8.1 Here is my scenario: I have a simple REST Api running on a Node.js server (on a Raspberry Pi) to control ...
0
votes
1answer
16 views

angularjs $location.path not working

I am using angularjs location path and facing very strange problem.. my relocate function: $scope.relocate = function(chat_id) { $location.path('/chat/' + chat_id); }; in the ...
1
vote
1answer
17 views

Display selected items in select box that is stored in database using angularjs laravel

I am trying to get a stored value from the database into a select box, but it is not displaying. The selected value shows in the console(inspect element) but it's just not displaying. HTML <td ...
0
votes
0answers
9 views

LumX lx-select not updating ng-model

I started using the LumX framework recently, and I was trying to use their Selects directive here, but I'm not clear on their documentation. This is what I've got so far: <lx-select ...
0
votes
0answers
3 views

Django oauth toolkit using implicit grant type

I am trying to authorize my users from an angularjs frontend app against a python/django backend using oauth toolkit. Using implicit "grant type" I always receive a redirection with parameter ...
0
votes
0answers
23 views

Not sure which Backend to use [on hold]

I am currently working on a SPA by using AngularJS and Firebase. Since I want my application to update instantly when updates are made I decided to use Firebase. The thing is my application will have ...
-3
votes
0answers
27 views

Why is Angular JS so popular nowadays [on hold]

Recently , I have come across companies switching a lot to angular framework. I see infibeam developing its latest single page checkout in angular JS. What is that all are mostly moving to angular JS. ...
0
votes
0answers
26 views

How do you specify an element in angular as a php array []

I'm trying to post multiple values in angular on an element using php however when I use the notation of [] angular errors out. How do I specify this element to be an array so it can be processed ...
0
votes
0answers
10 views

Getting “Unexpected request” error when running Karma unit test in an AngularJS app

I have seen some questions regarding this but all of them was specific to each case and I couldn't find a solution for my case in those posts. I have a current controller: function ...
-1
votes
0answers
17 views

Handle muti-authentification with passport + nodejs + angularjs

I'm using passport local authentification and when i have 2 persons or more authentificating or signing in at the same time, when i refresh the page, i could be redirected to the other users page or ...
-2
votes
0answers
6 views

deploy angularjs on jboss

i created simple angularjs project in eclipse. script.js var myApp = angular.module('myApp', []); myApp.controller('MainCtrl', ['$scope', function ($scope) { $scope.text = {}; ...
0
votes
0answers
8 views

WinJS vs Angular+Ionic for a cross-platform Cordova app

I'm a .NET developer who wants to build a cross-platform hybrid app to target iOS, Android, and WP based off of Cordova. I like the work that's being done with Ionic; however, I believe at the moment ...
1
vote
1answer
13 views

Wrapping an element into a custom template with an angular attribute directive

Situation: I have an attribute directive that wraps it's element into a template. Here it is: app.directive("myCustomInput", function(){ return{ restrict: "A", replace: true, scope:{}, ...
-1
votes
3answers
31 views

How can I use Variable expressions in AngularJS

In PHP I can use a double dollar sign to use a variable to represent another variable. If like to do the same in AngularJS expressions. For example if I had an object with property1, property2 etc ...
2
votes
1answer
24 views

TypeError: undefined is not a function when triggering AJAX requests in ASP.NET

I followed tutorial on this LINK to create AJAX requests on my angularJS appliction (CRUD operations). After I finished coding I tried to perform AJAX request (get all data from database) but when I ...
1
vote
1answer
27 views

Angular + Laravel : loading view via ngRoute

I'm facing this problem when combining Laravel and Angular: Following a very simple tutorial I found online, I was trying to load a view using the ng-view directive. However, I am unable to actually ...
0
votes
0answers
6 views

How to upload images in to a folder in meanjs using ng-flow?

I am running meanjs locally, i have installed ng-flow and configured flow-init="{target: '/modules/usedcars/upload', testChunks:false}" but i am getting this error POST ...
0
votes
1answer
19 views

Unknown provider: $resourceProvider - AngularJS

Getting the following message on my angularjs app: Error: [$injector:unpr] Unknown provider: $resourceProvider <- $resource <- Item ...
0
votes
1answer
15 views

How to return a default image url if the generated image url is not available in angular

I'm new to angular... $scope.imageUrl[0] = 'images/' + $scope.repos[i].name + '.png'; $scope.imageUrl[1] = 'images/placeholder.png'; $scope.repos[i].imgSrc = (Utils.isImage($scope.imageUrl[0])) ? ...
-2
votes
1answer
22 views

How to get back to previous state of a model making it dirty using cancel button

I have this plunkr here, which displays an editable table. Following is the HTML code for table: <body ng-controller="MainCtrl"> <table style="width:100%"> <tr> ...
0
votes
0answers
6 views

angular-google-maps directive refresh not working

I'm using this library (http://angular-ui.github.io/angular-google-maps/#!/api) to show a bootstrap modal containing a map. Since the modal is hidden Google maps doesn't know exactly how scale the ...
0
votes
0answers
15 views

Load $templateCache from file

I've been having trouble loading templates from the $templateCache. How I put templates in $templateCache : var app = angular.module('anglober', ['anglober.controllers', 'anglober.services', ...
0
votes
2answers
17 views

Adding custom directive on click of button in Angular JS

var testModule = angular.module("testModule",[]); testModule.directive('addVehicle',function() { return { restrict: 'A', scope: false, link: function(scope, ...
1
vote
2answers
19 views

Angular applciation working in Firefox but not in Chrome?

I have a simple Angular application that I am developing to learn more about AngularJS. I am trying to consume a simple API I have designed using Laravel. Appication: here API: here This application ...
0
votes
1answer
21 views

new YT.Player() working in development but not production

It seems that new YT.Player() is working in development but not production. var player = new YT.Player(domId, { events: { onReady: function() { // because of a bug in the youtube iframe ...
0
votes
0answers
16 views

Getting TypeError - can't clone Symbol: error when using active_model_serializer

So I have Ruby 2.1.3 with Rails 4.2.0 and I am using the active_model_serializer gem to send proper json data to AngularJs. Not I only upgraded today from Rails 4.1.6 to 4.2.0. With the previous ...
0
votes
1answer
14 views

Angular Animate slide pages in from right and out to right side (nganimate)

I'm working on a school project using Angular.js. We also have to implement some animations in our website. Since my website is kind of master-detail, I would like to slide the detail page (which is a ...
0
votes
0answers
21 views

newline in popover text from scope

I'm using angular-ui popover. The popover text is {{popoverText}} so the HTML won't be filled with tons of text (and it is more correct to put it in the controller. I defined $scope.popoverText in ...
0
votes
0answers
14 views

Share access Token between MEAN stack sub apps

I have a root app (with expressJS) that runs two sub applications (app1 and app2) using vHost module, the sub apps are accessible via two subdomains; app1.domain.com and app2.domain.com. The sub ...
0
votes
2answers
100 views

Error when trying to make an angular application with yeoman in terminal

I'm getting errors when I type this in my terminal yo angular First yeoman asks me if I want to use Sass, I answered no. Then he asked if I want to use bootstrap, answered Yes. Then he says that ...
0
votes
0answers
9 views

Is Mobile Angular UI a framework I can use for a mobile html application?

Our current web application for mobile is build with jquery mobile https://www.bit2c.co.il/mobile I would like to upgrade it with better ui, plus I believe that jquery mobile js and ui are not ...
0
votes
1answer
15 views

SVG circle (clock) of clickable objects from an array

I'm trying to create the following: Giving an array of objects, that every object represents a clickable line. In the end it needs to look like the image below. my code works mostly but i have 2 ...
0
votes
1answer
37 views

How to add absolute positioned elements dynamically to a DOM container without the elements colliding

I have a div#container to which I am dynamically adding rectangles and circles of various sizes. These rectangles and circles are manually positioned, with position : absolute . Now how I do ...
0
votes
0answers
25 views

Can I use contexts with jasmine?

I want to use contexts with jasmine so I can organize what my mocks return. Here is some pseudo code to demonstrate what I want to do. I expect both of these expectations to pass: describe('a ...
0
votes
1answer
24 views

Angular disable cached partials in production

I'm in proccess of development site, but every time i upload a new version to my server the users need to clean there cache to see the changes, what is the solution to this problem? I try two ways to ...
0
votes
1answer
17 views

AngularJS: How to dynamically initialize a controller in a template from within another controller

I would like ChildCtrl to be initialized only when the button above it is clicked. how is that possible? <div ng-controller="ParentCtrl"> <button>CLICK TO INIT CHILD ...
0
votes
1answer
22 views

Double curly braces are rendered in page and are not replaced by bound value

I'm new to AngularJS and I'm playing with an example in VS2012. I have the following html. Name: <br/> <input type="text" data-ng-model="name"/> {{name}} <script ...
0
votes
1answer
30 views

Nested ng-repeat with array of objects which contain arrays

I can't get nested ng-repeat to work for a data-structure like the following: options = [{name:"opt1", data:["a","b","c"]}, {name:"op2", data:["d","e","f"]}] What I'm trying to accomplish is ...
0
votes
0answers
15 views

Pass complex object to ui-sref params

I need build url like this: /list?filter[status]=1&filter[type]=2 I do: link: <a ui-sref="list({filter: {status: 1, type:2}})">List</a> (pass complex object in params, if pass ...
0
votes
0answers
5 views

Google map fitbounds not working with angularjs ng-dialog

I am using ng-Dialog module of angularjs for vehicle trip view map. My angularjs directive for trip-map is working fine and map is loaded with fitbounds in the complete window (not in ng-dialog model ...
1
vote
0answers
9 views

PhoneGap Open page based on notification content

// This is not a duplicate. It's a follow-up question on this question and others on the same topic I'm developing a PhoneGap app using Angular and Coffeescript, and I want it to open different views ...
1
vote
2answers
35 views

Angularjs Create Table Ng-Repeat with json data

im very new to angular js . My task is to create an html table from the json data from a web service. json data will be like ...
0
votes
3answers
34 views

Accessing object properties directly in Angular

I'm getting an JSON array from a service I create which contains a result similar to: [{"_id":"5499aece1d7be6c6a3000001","billName":"Jeep ...
0
votes
0answers
10 views

Save updated data using backend rest api in ui grid edit cell feature

I am working on ui grid edit cell feature. I need to update the edited cell value to the database. How can i do the same. I am using rest api as backend. Also how can i get the list of rows selected ...
2
votes
1answer
92 views

Right way to pass dynamic data to angularjs directive

I have been developing an AngularJS Directive which is supposed to work as a stand alone widget which can be configured by setting attributes in the form of Objects. My Primary Objectives are below: ...
0
votes
2answers
37 views

How do Phonegap and AngularJS work together in an application?

I am new to AngularJS, PHP, PhoneGap. I am creating a mobile app using all of these. After lot of research, I have got this understanding of how to proceed with the development. I am going to use ...