background preloader

Angular

Facebook Twitter

Ng-grid. NgTable: Simple and easy work with table on AngularJS (pagination, sorting, filtering) AngularJS - Building a dynamic table based on a json. Tutoriel AngularJS. Cgross/generator-cg-angular. AngularDart — Superheroic MVW Framework for Dart. Remastered Animation in AngularJS 1.2. Learn how to use the bigger and better animation features in AngularJS 1.2 AngularJS 1.2rc1 1.2 is out and this brings in a brand-new API for animations using ngAnimate. A lot has changed, but animations are better than ever. With 1.2, animations come full circle with new features such as support for ngClass, class expressions, and callbacks. Animations are also entirely class-based which means so long as a CSS class is present in your HTML code, then animations can be directly hooked into a working application. This article will explain how to perform animations in AngularJS 1.2 with the new API setup.

For earlier versions of AngularJS, please use 1.1.5 if you wish to stick to the older API of ngAnimate. This page was first published on August 15th 2013 and was last updated on November 20th 2013. This section explains the changes between 1.1.5 and 1.2. Animations are not apart of the core anymore <html ng-app="MyApp"><body> ... The ng-animate="... " directive is deprecated CSS Transitions. NgAnimation - simple animation sulotion for angularjs. Dfsq/ngView-animation-effects. Animating AngularJS Apps: ngView. AngularJS provides a great way to create single page applications. This allows for our site to feel more and more like a native mobile application since we have a single page app. To make it feel even more native, we can add transitions and animations using ngAnimate module. This module allows us to create beautiful looking applications.

Today we’ll be looking at how to animate ng-view. What We’ll Be Building Let’s say we have a single page application where we want to animate the page change. Clicking on a link will slide one view out and another into view. We’ll use: ngRoute for our page routingngAnimate to create our page animationsCSS Animations will be applied to the pagesEach of our pages will have different animations when leaving or entering the view Extreme Animations: The animations we’ll be using here are a little over the top. How Does It Work? All we have to do is apply a CSS animation to that .ng-enter class and that will be applied upon entry. Starting Our Application Base Styles. AngularJS — Superheroic JavaScript MVW Framework. FrAngular : AngularJS en français. AngularUI for AngularJS.

Angular directives for 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. Value(Type: string) - The style value to parse. (Type: number) - The numeric value of the style property. offsetParent(element) Gets the closest positioned ancestor. element(Type: element) - The element to get the offset parent for. (Type: element) - The closest positioned ancestor. scrollbarWidth(isBody) Calculates the browser scrollbar width and caches the result for future calls.

IsBody(Type: boolean, Default: false, optional) - Is the requested scrollbar width for the body/html element. (Type: number) - The width of the browser scrollbar. position(element, includeMargins)