If you’ve written a non-trivial amount of code in AngularJS, you may have come across the $scope.$apply() method. On the surface, it may seem like just a method you call to get your bindings to update. But why does it exist? And when do you need to use it? To really understand when to use $apply, it’s good to know exactly why we need to use it, so let’s dive in! JavaScript is Turn Based The JavaSc
Restangular has several features that distinguish it from $resource: It uses promises. Instead of doing the "magic" filling of objects like $resource, it uses promises. You can use this in $routeProvider.resolve. As Restangular returns promises, you can return any of the methods in the $routeProvider.resolve and you'll get the real object injected into your controller if you want. It doesn't have
Part 1: Google, Twitter, and AngularJS Part 2: Let's Make a Feed Reader Part 3: Rendering Feeds Part 4: Managing Feeds Part 5: Tests Part 6: Adding Dependencies Part 7: Form Validation Part 8: Iterators and Data AngularJS has a rich expression-based system for filtering and ordering data based on predicates. The orderBy filter can be used with the ng-repeat directive: <ul> <li ng-repeat="item in s
This days I’m playing with AngularJS. Angular is a great framework when we’re building complex front-end applications with JavaScript. And the best part is that it’s very simple to understand (and I like simple things indeed). Today we are going to play with Resources. Resources are great when we need to use RestFull resources from the server. In this example we’re going to use Silex in the backen
Series of articles about futures/promises without JavaScript would not be complete. Futures (more commonly named promises in JS land) are ubiquitous in JavaScript to the point where we almost don't recognize them any more. AJAX, timeouts and whole Node.JS are built on top of asynchronous callbacks. Nested callbacks (as we will see in just a second) are so hard to follow and maintain that the callb
Update: Thank you guys for voting me up to the top of Hacker News! Update: React was a side project that I reviewed the day it launched, and you guys liked this post. Please try Rate My App, where you improve every morning with daily video feedback for new side projects from Show HN and Product Hunt. Thanks! Facebook React is a new JavaScript framework. I found their official tutorial for creating
A basic understanding of JavaScript MVC and MVVM frameworks. Additional required other products AngularJS www.angularjs.org The past few years have been extremely kind to the JavaScript developer. Not only has JavaScript become the dominant language now surpassing even Java, but the level of tooling that is available in the space is absolutely unprecedented. When it comes to picking a framework fo
Quick Tip: Convert The Service Chooser App From Backbone.js to AngularJS This is a guest post by Kevin P. a web developer and a reader of Tutorialzine, who suggested a better approach to our Backbone.js form tut from last week, using AngularJS. The resulting code was so much simpler and shorter, that I invited Kevin to share it with you. The Backbone.js app tutorial from last week shows how to bui
This post has been updated to the latest and great on 01-09-2015. You can check it out here: Build an AngularJS Wizard Redux So my friend Matias, aka Year of Moo, Moo or MooMoo as I like to call him just dropped some animation functionality into AngularJS. I think this is fantastic and am super excited to see AngularJS get some love in the visual department. I dig that I can be functional AND fash
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く