Description:
Discussion group about AngularJS – the JavaScript framework for building web applications.
|
|
|
ng-switch Problem
|
| |
I have a little top piece of a page i'm working on that is separated from the rest of the main program. The point of the section is to display different things based on the state of a value in the controller. I've found that ng-switch seems to bugger with my ng-models, but ng-show/ng-hide does not. Is this by design or is there a bug.... more »
|
|
Broken Filter on Search Object
|
| |
When you are using a filter on a template object and one of the properties
of the template object is bound to a select box which has a "None" option
which sets the value back to the empty string. The filter matches Nothing
instead of Everything. To demonstrate:
[link]... more »
|
|
Basic Angular Testing with Injection
|
| |
Hey guys, So I'm new to the whole testing thing (I've been one of those people who has said 'I should write unit tests...' but never ended up ever doing it ...I'm now writing unit tests for this project. I'm using testacular + Jasmine, with browserify to compile things. I was having no problems until... more »
|
|
$resource POST not adding trailing slash
|
| |
I have a module where I define a service like this: .factory("Charts", function ($resource) { return $resource("/api/charts/:chartI d", { }, {}); }) Then, on the controller I do: var chart = new Charts({ name:$scope.name, query:$scope.query, since:$scope.since,... more »
|
|
App with Authentication
|
| |
Hi guys, I'm stuck on this issue almost two days. I'm trying to develop a simple App that needs Authentication. Just need the user to give me an email and a password. In the backend I have an REST service that provide some information that later is represented using the angular App. When a user logs in, the REST API sets a cookie the client browser, this... more »
|
|
$resource Usage
|
| |
So, I'm trying to set up a $resource which is backed by the json api for
spreadsheet data.
[link]
Here's what I've tried so far:
<html ng-app>
<head>
<title>All That Data</title>
<script src="[link]... more »
|
|
Controller wont update DOM on async callback
|
| |
Hi everyone. I'm a total newbie, but I could not find any answer regarding this or similar problem. My problem is, that, I can easily update messages array when working by example from angular.js website, but If I try to update this array with asynchronous callback from PubNub, I will see changes only in browser console and not in DOM. Problem is on PubNub... more »
|
|
Linking function executes bottom up?
|
| |
Example at [link] For the structure <div parent-directive> <div child-directive></div> <div child-directive></div> </div> I see childs are linked then parent is linked. I always thought it happens top down but I guess I'm wrong?
|
|
JQueryMobile AngularJS Adapter 1.0.7rc2 is out!
|
| |
Hi, just released version 1.0.7rc2 of the jquery mobile angularjs adapter. This works with angularjs 1.0.0rc10, jquery mobile 1.1 final and jquery 1.7.1. This took a while, I now :-) However, I rewrote the integration almost from bottom up with performance in mind. This release also supports jqm markup in angular directives with template... more »
|
|
|