background preloader

AngularJS

Facebook Twitter

Angular Grid - A Data Grid for AngularJS. A Better Way to Learn AngularJS - Thinkster. Congratulations on taking the plunge!

A Better Way to Learn AngularJS - Thinkster

This AngularJS course is built with the intent of exposing you to the best available resources on each Angular topic. Our desire is to present these topics richly, and from a variety of vantage points, in order to afford you a more complete perspective on them. This course is accompanied by AngularJS Tutorial: Learn to Build Modern Web Apps with MEAN.

The learning curve of AngularJS can be described as a hockey stick. Getting started with apps featuring basic functionality is delightfully easy. With AngularJS, the "Ready, Fire, Aim" learning methodology of duct taping together a handful of tutorials and a cursory glance through the documentation will lead to confusion and frustration. Prerequisites Resources Since AngularJS is still in its infancy relative to other JavaScript frameworks, the number of encyclopaedic resources on it is still insufficient. - Thinkster. AngularJS Docs Performance. I noticed at a recent Meetup in New York – – that the performance of the AngularJS docs app was questioned and quite rightly so.

AngularJS Docs Performance

Loading up the docs app was a complete dog! As you can see from this Chrome timeline the page is taking over 4 secs (on a fairly powerful laptop with fast broadband connection) to complete loading and rendering. The mystery of the blocking script. Easy global i18n angularJS language translations for your Angular app. Updated for angular-translate 2.0 As worldwide access to the web increases, we as developers are constantly pressed to make our apps internationally and locally accessible.

Easy global i18n angularJS language translations for your Angular app

When a user visits our apps, he or she should be able to switch languages on the fly at runtime. Given that we are building AngularJS client-side apps, we don’t particularly want the user to have to refresh the page or visit an entirely different URL. Of course, AngularJS could easily accommodate our international audience natively, perhaps by generating different templates for different languages and serving those within the app. This process can become cumbersome, and what happens when you want to change the layout of the app? Full-Spectrum Testing with AngularJS and Karma. Learn how to fully test your AngularJS application with Karma One of the major areas of AngularJS development which needs to be covered in better detail is how to test your application.

Full-Spectrum Testing with AngularJS and Karma

But wait, how do you do that? How do you setup your test environment? How should you organize your code? How do you setup a runner and how to automate the process? It doesn't take much time to realize that testing JavaScript is difficult and finicky. This page was first published on January 21st 2013 and was last updated on November 20th 2013. The major challenge when it comes to testing JavaScript is that it requires you to have a runner setup to test your code. Full-Spectrum Testing with AngularJS and Karma. Les livres Ninja Squad. Opinionated AngularJS styleguide for teams. After reading Google's AngularJS guidelines, I felt they were a little too incomplete and also guided towards using the Closure library.

Opinionated AngularJS styleguide for teams

From my experience with Angular and working in teams, here's my opinionated styleguide for syntax, building and structuring Angular applications. Module definitions Angular modules can be declared in various ways, either stored in a variable or using the getter syntax. Use the getter syntax at all times (angular recommended). Bad: var app = angular.module('app', []);app.controller();app.factory(); Good: angular .module('app', []) .controller() .factory(); From these modules we can pass in function references.

Module method functions Angular modules have a lot of methods, such as controller, factory, directive, service and more. Var app = angular.module('app', []);app.controller('MyCtrl', function () { }); function MainCtrl () { }angular .module('app', []) .controller('MainCtrl', MainCtrl); Even better: Controllers. A curated list of angular-js modules and directives for ui and bootstrap » The best angular directives for bootstrap , ui , controller , scope , element. Pseudobry. This post came out of my presentation at a UtahJS meetup.

Pseudobry

You can even go see my slides. 13 Steps to AngularJS Modularization. ← Your Project Will Be a Success If… | Using ESlint Plugins for Node.js App Security → A guest post by Christopher Hiller, the author of Developing an AngularJS Edge and a Software Architect for Decipher, Inc.

13 Steps to AngularJS Modularization

He enjoys gaming, coding, and gleaming the cube. He can be reached on GitHub or as @misterhiller on Twitter. AngularJS is not a silver bullet. It doesn’t just magically generate maintainable and extensible apps. This series, however, is not about those applications. This series is about applications that: And finally, if you’re 90% through developing a simple feature for this application and think, “you know what? Ionic: Advanced HTML5 Hybrid Mobile App Framework. 25 days of Angular. Diving deep into the AngularUI Router.

AngularJS is packed with out-of-the-box features that we can use to build an expressive AngularJS app without relying on separate libraries; however, the very active AngularJS community has also built some great libraries that we can take advantage of to maximize the power of our apps.

Diving deep into the AngularUI Router

This post is the first post in our mini-series where we’re covering professional components of the AngularUI library. In this post, we’ll walk through the ui-router. The AngularUI library has been broken out into several modules so that, rather than including the entire suite, we can pick and choose the components that we’re interested in using. Quick links: we’ve included two major demos in this article that we are constantly asked about in our classes. The ui-router library is one of the most useful that the AngularUI library gives us. This library provides for a lot of extra control in our views. Installation To install the ui-router library, we can either download the release or use Bower:

Ng-conf 2014 - The World's First Angular Conference in Salt Lake City, Utah. Optimizing a Large Angular Application (ng-conf) AngularJS & PhoneGap. Jason Dobry : Building large apps with AngularJS. Use AngularJS to Power Your Web Application. AngularJS is a truly amazing approach to developing JS-heavy web applications AngularJS, by Google, is a well-organized, well-tested, versatile, powerful and flexible JavaScript MVC framework for building rich client-side applications.

Use AngularJS to Power Your Web Application

You still may need to have a server-side backend, but the majority of the user-interactivity logic will be delegated to the client-side. This includes stuff like form submissions which are handled via AJAX, model validations, template handling and data-binding. If these things are foreign to you then read onwards and see how you can benefit from building web applications in a much more radical way. This page was first published on August 15th 2012 and was last updated on October 29th 2012.