background preloader

AngularJS

Facebook Twitter

More Child-Element Animations Using ngAnimate In AngularJS. Over the weekend, I looked at how we can animate static child nodes using the ngAnimate module in AngularJS.

More Child-Element Animations Using ngAnimate In AngularJS

To me, this is such an awesome feature of AngularJS (and CSS, really) that I wanted to give it a little bit more love. In this follow-up post, I don't want to introduce anything new, necessarily; I just want to showcase a more complex, multi-faceted animation for transitioning views in an AngularJS application. Run this demo in my JavaScript Demos project on GitHub. If you have an iPhone, you might notice that fixed headers and footers (inside various apps) sometimes have animations that are different from the main content area.

Sometimes the body slides while the fixed header and footer fade. For this demo, I'm not going to get as complicated as an iPhone application. The key take-away here, however, is the fact that ngAnimate isn't working directly on the fixed header, the fixed footer, or the body. AngularJS Color Picker. Angular SVG round progressbar demo. Popular Modules - AngularJS Modules, Plugins and Directives. Scrollspy, animated scrollTo and scroll events for angular.js. Angular is only dependency (no jQuery). 8K minified or 2K gzipped.

Scrollspy, animated scrollTo and scroll events for angular.js

Example Check out the live demo or the source code. Install With bower: $ bower install angular-scroll With npm (for use with browserify): $ npm install angular-scroll You can also download the production versionor the development version. If you prefer a CDN hosted version (which might speed up your load times), check out cdnjs.com/libraries/angular-scroll.

Don't forget to add duScroll to your module dependencies. angular.element Scroll API This module extends the angular.element object with a few jQuery like functions. .scrollTo( left, top [, duration [, easing ] ] ) Scrolls the element/window to the specified left/top position. .scrollTo( element [, offset, [, duration [, easing ] ] ] ) Alias of .scrollToElement. .scrollToElement( element [, offset, [, duration [, easing ] ] ] ) Scrolls to the specified element, if offset is passed it will be subtracted from the elements position which is good if one uses floating menus. Promises. Comprendre les bases d'angularJS et savoir quand l'utiliser. Introduction AngularJS fait partie de la nouvelle vague de frameworks JavaScript, à l’instar de Backbone.js et Ember.js, pour ne citer que les plus connus.

Comprendre les bases d'angularJS et savoir quand l'utiliser

Il s’inscrit dans un mouvement d’innovation côté front-end, pour notre plus grand bonheur. Aujourd’hui, les sites où le JavaScript ne sert qu’à faire disparaître une balise <p> ou changer le style d’un <div> se font de plus en plus rares et sont pour la plupart des sites éditoriaux. On voit de plus en plus apparaitre des sites web poussés, et certains ressemblent à des applications bureau (enrichi par le cloud) avec une ergonomie ultra simple et une grande facilité de prise en main.

Heureusement, les besoins ont évolué, mais les outils aussi. jQuery qui, je pense, parle à tout le monde, se présente plus sous la forme d’une libraire, alors qu’AngularJS est un vrai framework : il va structurer votre code et vous imposer une architecture. Un peu d’histoire Les concepts L’application Et dans notre JS, on crée notre application. Le contrôleur. Get Started With These 15 Popular AngularJS modules. Home > Resources > Get Started With These 15 Popular AngularJS modules AngularJs modules are the containers for controllers, services, filters, directives etc of your app.

Get Started With These 15 Popular AngularJS modules

AngularJs module is collection of configuration and run blocks which get applied to the application during the bootstrap process. In its simplest form the module consist of a collection of two kinds of blocks, configuration blocks and run blocks. 10 Best AngularJS Tutorials for Developers. 20 Free AngularJS Resources & Tutorials. While jQuery is easily the most popular open source JavaScript library there are many competitors.

20 Free AngularJS Resources & Tutorials

Among the many alternatives I want to focus on AngularJS. As a designer it can be tough getting into JavaScript because it might feel a little bit like programming. Getting past the initial learning curve is tough but worthwhile in the long run. I’ve put together 20 resources including tutorials and free online codes for delving into AngularJS. With just 3-4 hours of practice you can learn the basic setup and primary purposes of using Angular in your websites. 10 Best Tutorials To Learn AngularJS. AngularJS is an awesome Javascript framework that can be used to create powerful and dynamic web apps.

10 Best Tutorials To Learn AngularJS

It also covers the building of complex client-side applications. Since its release in 2009, AngularJS has been widely used by many developers for its convenient extending of custom HTML tags and attributes, known as ‘directives’. For some people, learning Angular through its official documentation is not enough. They prefer a video-based tutorial instead, or a more sophisticated learning site with specific discussions, a demo, the try it yourself feature and the like. So in this post, we’re listing 10 AngularJS tutorial and screencasts that will kickstart your Angular learning. FrAngular : AngularJS en français. FrAngular : AngularJS en français. Formation AngularJS.