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

0
votes
1answer
23 views

AngularJS: Sample ToDo App - Questions and Review

Intro: I first asked this one over at StackOverFlow and they hinted me that CodeReview is the place to post such things. Therefor some phrases from the text below might be "outdated". Thanks for your ...
1
vote
1answer
69 views
+50

Manipulating model elements in angular

All, I barely have a week of angular behind me and I am still struggling with some of the concepts. Below is a piece of code I came up with. The idea is to let the user add/delete entries in a model ...
0
votes
0answers
7 views

Angular testing using Jasmine

I have a controller that I'm trying to test. I've written the spec and Karma (my test-runner) tells me it passed, however I'm not sure I wrote it correctly. Controller ...
1
vote
1answer
96 views

coffeescript and angular directive

I feel this is deeply inelegant, but I really want the option of classical inheritance in the future. How could this be written better. FYI animation here is from GSAP if you are curious. class Modal ...
1
vote
0answers
71 views

Angularjs stream ajax responses?

The following service repeatedly queries urlToStream with paging parameters and appends the results to an array in a scope (passed in as a parameter). It works but feels dirty (not the least of which ...
1
vote
0answers
69 views

AngularJS directive that manually transcludes content and has isolated scope

I would like to hear the opinion of more experienced AngularJS developers on whether the following directive is best practice... I was trying to make to make a directive that will include HTML that: ...
0
votes
0answers
50 views

Broadcast event in angularJS

$scope.unreserve = function () { var params = { 'wishlist_product_id' : product.wishlist_product_id }; WishlistService.unreserve(params, function (data) { if (data.success) ...
0
votes
0answers
112 views

Angular Checkbox Filtering

I'm very new to Angular, and trying to get my head around whether or not I'm doing it the Right Way (tm). I want to filter a set of results by their properties, where if none of the filters are ...