Reference from: — Here are a few points about form validation: When you give a <form> a name, Angular will add a property with the same name to the current $scope. All named inputs inside a named <form> will be added to the form’s named property in $scope. Each form and […]

2,175 total views, 2 views today

Reference from: — Angular’s $emit, $broadcast and $on fall under the common “publish/subscribe” design pattern, or can do, in which you’d publish an event and subscribe/unsubscribe to it somewhere else. The Angular event system is brilliant, it makes things flawless and easy to do (as you’d expect!) but the concept […]

1,745 total views, no views today

Reference from: — Bài viết chỉ đơn giản thuật lại những gì mình bị vướng và muốn đào sâu 1 chút về transclude. Lược dịch từ:… Giới thiệu Tranclude theo mình là 1 chủ để hơi khó (chắc là với mình) trong Angularjs. Thông thường, 1 directive nếu không […]

2,311 total views, 2 views today

Một trong những khó khăn cho những ai mới làm quen với AngularJS đó là vấn đề sử dụng new isolate/isolated scope (scope: {…}) của directive. Đối với vấn đề sử dụng loại {scope: true} hoặc {scope: false}, các bạn có thể đọc bài sau để hiểu rõ hơn: Understanding […]

1,998 total views, 2 views today

Reference from: — The AngularJS $q service is said to be inspired by Chris Kowal’s Q library ( The library’s goal is to allow users to monitor asynchronous progress by providing a “promise” as a return from a call. In AngularJS, the semantics of using a promise are: var promise […]

1,865 total views, no views today

Reference from: — The subject of global variables in most languages is enough to bring the most passionate code junkies out of the woodwork ready to debate and bite off your feet for even entertaining the thought. The reality is in a framework like AngularJS globals are warranted at times, […]

1,858 total views, no views today

Reference from: — Executive Summary: In AngularJS, a child scope normally prototypically inherits from its parent scope. One exception to this rule is a directive that uses scope: { … } — this creates an “isolate” scope that does not prototypically inherit.(and directive with transclusion) This construct is often used […]

2,183 total views, 2 views today

Reference from: — Loopback is one of the most promising Node Js framework based on Express and maintained fromStrongloop a nice startup based in San Mateo and recently acquired by IBM.  Strongloop andLoopback are enterprise grade framework for web and mobile application developed on NodeJS and based on Express. In this tutorial we will […]

1,843 total views, 2 views today