background preloader

Angular.js

Facebook Twitter

Brian Ford. Git Commit Message Conventions. More AngularJS Magic to Supercharge your Webapp. Make way for another amazing article which covers more of AngularJS Due to the popularity of the previous article, Use AngularJS to power your web application, I've decided to cover more of AngularJS to make it fun and easy for all developers to play around with it.

More AngularJS Magic to Supercharge your Webapp

AngularJS is an incredible tool, but a lot of the more advanced features are hidden in deep within the documentation and others are too tricky to learn direclty. AngularJS is also a fairly new product and as a result there are many features that are yet to be discovered and blogged about. This article will cover more of the hidden gems of AngularJS and introduce new development tricks and methods to supercharge your AngularJS application.

Pleaes read onwards if you wish to become an AngularJS web guru :). This page was first published on October 2nd 2012 and was last updated on January 30th 2013. iPhone, Android, Blackberry, PHP, Generatrix, Wordpress App Development in Pune, India. We started working with Angular.js recently and after spending a few days on it, I realised that there a big need for beginner tutorials on it.

iPhone, Android, Blackberry, PHP, Generatrix, Wordpress App Development in Pune, India

I’ve tried to document some of the things you might need on day 1. 1. The documentation still sucks so it’s okay if you’re taking more time. Yes, it’s really worth it. So do spend a little extra time. Discussion from StackOverflow: it makes perfect sense, but how did you know that? The documentation sucks and you have to assume stuff. If you need resources, you should try out the following. Egghead IO. Build Apps with AngularJS. This guide gets you started building Chrome Apps with the AngularJS MVC framework.

Build Apps with AngularJS

To illustrate Angular in action, we'll be referencing an actual app built using the framework, the Google Drive Uploader. The source code is available on GitHub. The Google Drive Uploader allows users to quickly view and interact with files stored in their Google Drive account as well as upload new files using the HTML Drag and Drop APIs. It's a great example of building an app which talks to one of Google's APIs; in this case, the Google Drive API. Note: You can also build apps which talk to 3rd party APIs/services that are OAuth2-enabled.

The Uploader uses OAuth2 to access the user's data. Key features this app uses: All Chrome Apps require a manifest.json file which contains the information Chrome needs to launch the app. A stripped down version of the Uploader's manifest looks like this: The most important parts of this manifest are the "oauth2" and "permissions" sections.

Template laid out. Woot! AngularJS directives for Twitter's bootstrap. The $uibPosition service provides a set of DOM utilities used internally to absolute-position an element in relation to another element (tooltips, popovers, typeaheads etc...). getRawNode(element) Takes a jQuery/jqLite element and converts it to a raw DOM element. parameters element(Type: object) - The element to convert. returns (Type: element) - A raw DOM element. parseStyle(element) Parses a numeric style value to a number.

AngularJS directives for Twitter's bootstrap

Value(Type: string) - The style value to parse. (Type: number) - The numeric value of the style property. offsetParent(element) Gets the closest positioned ancestor. 5 Awesome AngularJS Features. AngularJS is a great JavaScript framework that has some very compelling features for not only developers, but designers as well!

5 Awesome AngularJS Features

In this tutorial, we will cover what I consider to be the most essential features, and how they can help make your next web application awesome. AngularJS is a new, powerful, client-side technology that provides a way of accomplishing really powerful things in a way that embraces and extends HTML, CSS and JavaScript, while shoring up some of its glaring deficiencies. It is what HTML would have been, had it been built for dynamic content. In this article, we will cover a few of the most important AngularJS concepts to get the "big picture. " It is my goal that, after seeing some of these features, you will be excited enough to go and build something fun with AngularJS.

Think of your model as the single-source-of-truth for your application. Data-binding is probably the coolest and most useful feature in AngularJS. There must be a better way! AngularJS Cheat Sheet by ProLoser. Databinding in angularjs. Angular.js Backbone.js or which has better performance.