AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability, reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.

learn more… | top users | synonyms (1)

0
votes
2answers
10 views

Angularjs - disabling AND unchecking a checked box

I have a complex set of checkboxes in groups filled with data from multidimensional arrays and there are some specific things that need to happen with them... I extracted the minimum of what I need so ...
2
votes
0answers
4 views

Angular UI-Select Dropdown Value Issue After Angular 1.2 Upgrade

We just upgraded Angular from 1.2 RC 2 to 1.2 final and upgraded select2.js from 3.4.0 to 3.4.3.1. Now I'm noticing some dropdowns not displaying their values correctly. The dropdown value is ...
1
vote
1answer
9 views

AngularJS - Inject provider to module.config

What I'm doing wrong? According to documentation, I should be able to inject the provider to module.config...but I'm getting an error - "Unknown Provider" http://jsfiddle.net/g26n3/ (function () { ...
0
votes
0answers
4 views

Using Twitter's Typehead with Angular: no event on desselect?

I’m trying to use Twitter's Typehead with Angular and having some issues. What I want to achieve is to build a sequence of user input with autocomplete. To complete a step, the user must get datum ...
0
votes
0answers
8 views

Laravel as RESTful backend for AngularJS

I am trying to build a web application which should use Laravel as a RESTful backend API and AngularJS on client side. I read all the other post on Stackoverflow about the issue, but no one is ...
1
vote
1answer
9 views

How to pass already-fetched data to a controller when it's expecting a promise

I have a service in Angular that fetches a list of querys from a database table. The user selects one and moves on to another view to work with it. When the user clicks back to the first view ...
1
vote
0answers
14 views

Best way to load <select> options from the database (once and only once) and remember selections

On my index page I have a form with its own controller and service. This controllers loads a couple select elements with options from a service. When the user makes a couple of selections and ...
2
votes
1answer
14 views

Change included page and URL without re-initializing controller in AngularJS

I am making an application using AngularJS and want to be able to switch between "tabs" and swap back and forth different "partials" or html templates into a panel/container (using ngInclude). Here's ...
1
vote
1answer
19 views

data-ng-controller does not work after an update to angularjs 1.2.0

I updated my project from angular 1.0.8 to 1.2.0 and something as simple as this not work for me: <div data-ng-include="'partial1.html'" data-ng-controller="MainCtrl"></div> How can I ...
0
votes
0answers
14 views

AngularJS RouteProvider not working correctly

$routeProvider.when('/home', { templateUrl: 'index.php/projects/projects/contact', controller: 'home' }); $routeProvider.otherwise({ redirectTo: '/home' }); I cannot seem to get the ...
1
vote
1answer
21 views

What changed with AngularJS 1.2.0-rc.3 that stops ng-click from having the right model value?

We have some code in an ng-click that broke with version 1.2.0-rc.3 because the value in the scope hasn't been updated from the click. Here's a dumbed down version: HTML: <div ng-app="" ...
0
votes
1answer
9 views

What is the difference in angularJS between ui.router and ui.state?

I am working on getting an angularJS SPA setup with multiple views using angular ui-router. As I look aroun dthe web at tutorials and how-to's, I see a mixed bag of dependencies. The ui-router github ...
0
votes
0answers
13 views

Angular controller: scope variable being set on $http result not correct on subsequent page revisits

I have an express backend and angularjs frontend. I exposed a route to allow the front end to check if a user is logged in, all which is being correctly handled by passportjs. It seems to work fine ...
0
votes
0answers
6 views

AngularJs $resource JSON Callback not working

I'm creating a resource to pass data into my controller for an existing api that need to hook into. I am not able to modify the back end unfortunately. My Resource factory currently looks like this: ...
0
votes
0answers
14 views

Plugin system using mean stack

I'm planning on using MEAN stack for a kinda big application. I'd like that application to be based on plugins. Ideally, each plugin should be able to : Define node routes, controllers, models ... ...

15 30 50 per page