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

How to get different JSON content in the same $http.get

I'm using AngularJS to retrieve a list of objects from a Server. The server side is being made with Spring MVC. So, I'd like to return a list of these objects as JSON format, but, I'd like to return ...
0
votes
2answers
8 views

Centering and filling the page with bootstrap grid and ng-repeat elements

I have several elements I want to display on a page, and I am using Angular's ng-repeat to do it. I want to display it by having a 3x3 column, so I am using Bootstrap's col-md-4. My HTML is as ...
0
votes
0answers
11 views

Angular directive not rendering scope values in view

My directive uses a service which returns a promise, I need to display the scope attributes geoZip, geoCity and geoState in the template. The issue is that those scope variables are not being shown ...
0
votes
0answers
6 views

google angular module don't work

I add this to my proyect: https://angular-ui.github.io/angular-google-maps/#!/ i follow the suggestion and add this files to my proyect mvc in the BundleConfig (Downloaded by Nuget): ...
2
votes
0answers
16 views

How to activate a tab that has a validation error in AngularJS

I am building a tabbed angular form where each tab has different sections of the form that need to be filled out (similar to Magento and the product setup page). I want to validate the form, and then ...
2
votes
3answers
28 views

Angular $broadcast only populating data on page refresh

I'm trying to pass data from a controller to a directive using $broadcast and $on. Data only appears on the directive's HTML template when I refresh the page. It does not appear when I route to the ...
1
vote
1answer
17 views

server sends raw json and can't be processed by angular

I'm trying to access the data from server to $scope.resp but only raw json is getting displayed on the page. here is the routes/addr.js router.get('/', function(req, res) { var pers = [{add: ...
0
votes
0answers
20 views

angular sanitize, add exceptions for specific directives

Is it possible to add exceptions for angular sanitize to allow custom and core directives? such as: ng-click my-custom-directive
0
votes
1answer
28 views

Global variable in another file can't be accessed

I know this has been asked a ton of times, but I've checked several other questions and answers and I'm still no closer to solving my problem. index.html: <!doctype html> <html lang="en" ...
1
vote
1answer
29 views

Angular filter running more times than expected

I made a filter to sort questions by category. I am trying to figure out why my Angular filter is running more times than the input value. First issue: The filter is run before questions are ...
0
votes
0answers
7 views

protractor: testing redirect with angular $window service

In the app that I am testing, we use the angular $window service to redirect to a different URL. For example: when you click a button, it redirects you to a new page via: ...
0
votes
1answer
30 views

Trying to load my Angular scripts dynamically yields an “angular not found” error

My Angular app is working fine. However, I got tired of having so many script tags in my HTML, so I wrote a little script to -- I thought -- generate all the tags for me: var scriptURLs = [ ...
0
votes
0answers
4 views

Angular Smart Table drag headers with different td elements

I am using Angular Smart Table plugin for datatable. I am using this plnkr for drag headers feature. I tried it , it works fine but problem is that I have different td elements for example like ...
2
votes
1answer
19 views

Using Angular for upvote => swipe functionality

I'm attempting to incorporate a swiping feature into my app via angular. Idea is as follows User rates item in Angular model. Based on input. Controller queues up the next item for view After ...
0
votes
1answer
17 views

AngularJs - UI Boostrap Popover

Hello I'm using UI boostrap within Angular App I would like to add Popover using UI boostrap, so this what I did so far: <a popover popover-template="'tpl.html'" ...
1
vote
0answers
25 views

Angular component syntax, callback function called with wrong context

I'm working on an angular app using the NG6-Starter boilerplate. Now, i've got one component with another component inside it, and i'm sending a callback function to the inner component via an ...
1
vote
1answer
21 views

Use JSONP in cross domain call

I have a http call in AngularJs like this: $http.get("b.example.com/b").then(function1(){show data}, function2(){show error}) I am on the a.example.com/a domain and getting data from ...
2
votes
1answer
28 views

Angular, queuing ng-init

Is it possible queuing ng-init? Generally, in first init I want to add JSON file to prototype vars (array) and in another init depending on the params I want to skip getJsonData() or add other JSON ...
0
votes
0answers
12 views

Angular refresh iterating when array chang

I have server in Node.js and I do Single page application. I use angular. I iterate persons when www is load: <div id="header"><h1>Tables</h1></div> <div id="players" ...
-2
votes
1answer
47 views

500 Internal Server Error in simple Mean application

I am doing a simple MEAN stack tutorial on Thinkster.io which involves creating a simple news app. When I try to post a new item to the server I get this error, POST http://localhost:3000/posts 500 ...
0
votes
1answer
32 views

Correct way to callback function after all data have been retrieved from mongoDB in Express?

I'm writing a web application with a message feature. A Conversation in my app is defined as between 2 distinct users. For example if Adam had just created a profile and sent 1 message to Jane and a ...
0
votes
0answers
18 views

Angularjs changing route doesn't load data (ngRepeat)

Of course, I should mention that I'm new to this thing, so sorry if this is something trivial. So I pretty much have 2 routes (views). localhost:3000 takes in and loads up a list of objects and ...
1
vote
0answers
29 views

How to update template when scope isn't changed

I have a template where I display all the users of my app, %ul{"ng-repeat" => "user in users"} %li name: {{ user.name }} %a{"ng-click" => "followUser(user)", "ng-show" => ...
-1
votes
1answer
26 views

angularjs - controller actions not working

sorry if im doing something wrong im new here '^^ im curently working on a school project building a website using MVC. im trying to load objects from a database using Json object and angularJS. i ...
0
votes
0answers
15 views

Angular-Seed npm start bower component errors

When I start a project with angular-seed from https://github.com/areai51/angular-seed/ I do git clone --depth=1 https://github.com/areai51/angular-seed/ myproject npm install npm start This ...
1
vote
0answers
10 views

Trying to get data from an HTTP request to populate an angular chartjs graph

Here is my controller: (function() { 'use strict'; angular .module('ideabank') .controller('ProfileController', ProfileController); ProfileController.$inject = ['$http', '$scope']; function ...
1
vote
1answer
12 views

How to set inner html through a html tag with angularjs? [duplicate]

In my html I use a layout like this: <h2>{{translation.settings}}</h2> As you might guess, I am using a multi language setup. Now, for some reason I am required to bind the angularjs ...
-1
votes
1answer
37 views

Refresh Angular JS App again

I have an application where a part of the page is implemented in angular js. I have a requirement where I have to reload the angular js template coming from the server, based on some user action. I ...
0
votes
1answer
10 views

Symfony - Angular routing

I have a symfony application which works in a subdirectory: www.example.com/subdirectory At this point my application is routed client side with angularjs-framework: app.config(["$routeProvider", ...
0
votes
0answers
19 views

Nodejs and Angular. Make changes to mongodb db after posting

I have a nodejs app with Angular for the front-end stuff. I make a post call from the client side that saves a large JSON string in a collection in mongodb. I want the server side to then chop up the ...
1
vote
2answers
19 views

A variable in angularjs is not updated

I tried to create a timer using AngularJs, but when I increment the timerCount inside the setInterval method, the value changes but the view doesn't update with the new value. When I checked the ...
1
vote
1answer
22 views

Angularjs Promises in validation

I am working on a workflow engine that has been written in angularjs, between stage changes, I can configure a validation method to run, and the workflow engine expects this validation function to ...
0
votes
1answer
34 views

Increment the Mongoose query limit by button click/scroll in AngularJS

I want to increment the data via Button click or scroll. I have a function which loads the data after button click loadDataQueryDB(param, param, param). With that, I am passing data to MongoDB ...
-2
votes
1answer
35 views

Angular JS vs Server Side scripting [on hold]

Since Angular JS provides an MVC perspective to web design, does it means that server-side scripting can be ignored? I mean I can make $http request within my controller to update/query data(cloud ...
0
votes
0answers
12 views

Power BI A.P.I Authentication

I am currently trying to make a call to the power b.i a.p.i so that I can use it for my application and understand how to make api calls to microsoft api's. My code successfully uses the azure active ...
0
votes
3answers
57 views

Why do I need a HTTP-server to run Angular 2?

I come from traditional back-end Java/Spring environment to learn Angular 2 framework, and have hard time to grasp many of the fundamental concepts. I'm reading the Manning book Angular 2 ...
1
vote
0answers
27 views

RouteParams on bootstrap of app?

I've got a simple angular 2 app seed. A simple bootstrap; bootstrap(App, [ ROUTER_PROVIDERS, provide(LocationStrategy, {useClass: HashLocationStrategy}) ]); and App sets up a few routes; ...
-1
votes
0answers
29 views

Are there cost benefits from using AngularJs?

With the arrival of ASP.NET 5 and MVC 6, I got into thinking of building a hobbyist web app I wanted to build for some time now. I started thinking about how I should build it. Regarding the data ...
1
vote
1answer
17 views

Angular - pagination without user input

Apologies, the title is horrifically worded. Background I have an angular app which I am using as a static display. There is no user interaction so most is based on timeouts. Page is loaded, after ...
1
vote
0answers
15 views

Cross Domain Image upload Angular+laravel

I have been struggling with image upload on server. I am using ngFileUpload on front end. But I always get "Response to preflight request doesn't pass access control check: No ...
-3
votes
2answers
27 views

What are the main differences between AngularJS and ReactJS

I need to create a web site which will be converted to a mobile application (What I want to build is more suited to be a web site than an application so the building itself should be as a website). ...
0
votes
2answers
24 views

Compare two set of objects

I have scope called $scope.users which returns all the users in my app like so, [{"id":1,"name":"Peter Boomsma"}, {"id":2,"name":"Jan Jansen"}, {"id":3,"name":"Kees Keesen"}, {"id":4,"name":"Piet ...
0
votes
0answers
6 views

Invoke function inside a controller from Fancybox2

I have this directive app.directive('fancybox', function($compile, $timeout){ return { link: function($scope, element, attrs){ $(element).fancybox({ ...
1
vote
0answers
12 views

Ionic firebase login Auth not functioning (email)

Everything seems to work when using login/logout. But when i do a initial "ionic serve" i get located to the login page but if i then change the url to "/menu/map" i can get into map.html which should ...
0
votes
1answer
19 views

using socket on angular factory

im trying to use angular service in order to pass from my node js server into my view json objects. i debuged the service function and saw that it is really getting the objects but when i returned ...
1
vote
1answer
20 views

Why does radio button with ng-repeat not work?

I've got a simple ng-repeat with a radio button which refuses to function. The following works perfectly fine: <label class="radio-inline"> <input type="radio" ng-model="display_as" ...
0
votes
2answers
17 views

angularjs - on click, how can I handle duplicates in an object in a list where on click, an accordion opens?

I looked at http://codepen.io/ionic/pen/uJkCz. Here's what I was trying out: http://codepen.io/anon/pen/rxjpwd Basically, if my object has duplicates in it, such as Basketball coming up 3 times, how ...
0
votes
1answer
30 views

Is the main point of dependency injection being pass dependencies to target's function(or constructor) rather than create them inside the target?

Just finished a AngularJS course, the term dependency injection is used all over the place. Am I right the main point of it is: pass dependent objects to target's function(or constructor) rather than ...
1
vote
1answer
12 views

Ng-Options Expression Repeatedly Called

I am having multiple issues with my <select> element in angular and am trying to understand what is going on. My first step is to understand why the multiple console.log() messages I have put in ...
0
votes
0answers
18 views

Express / Jade / Angular - Loading a script only for one view

I'm loading in an external JS script for a payment page for my webapp, but I only want to load the script on one page (not in every page of the site). I'm using Jade templates for my views; if I put ...