Category Archives: Javascript

Angular UI Bootstrap

[Fuente: http://angular-ui.github.io/bootstrap/] Getting started Dependencies This repository contains a set of native AngularJS directives based on Bootstrap’s markup and CSS. As a result no dependency on jQuery or Bootstrap’s JavaScript is required. The only required dependencies are: AngularJS (minimal version 1.0.8) Bootstrap CSS (tested with version 3.0.3). This version of the library (0.10.0) works only with Bootstrap CSS in version 3.x. […]

JSONP: JSON con padding

[Fuente: http://es.wikipedia.org/wiki/JSONP] JSONP o “JSON con padding” es una técnica de comunicación utilizada en los programas JavaScript para realizar llamadas asíncronas a dominios diferentes. JSONP es un método concebido para suplir la limitación de AJAX entre dominios, que únicamente permite realizar peticiones a páginas que se encuentran bajo el mismo dominio y puerto por razones de seguridad. Razón del JSONP Bajo […]

Angular JS : Understanding directives

[Fuente: https://github.com/angular/angular.js/wiki/Understanding-Directives] Understanding Directives Generously reshared from AngularUI This document is a (tangential) attempt to explain how AngularJS directives and the related compiling engine works so that you’re not flailing around like a noodle the first time you try to tackle it yourself. Injecting, Compiling, and Linking functions When you create a directive, there are […]

AngularJs: Multidioma

[Fuente : http://www.ng-newsletter.com/posts/angular-translate.html] Easy global i18n angularJS language translations for your Angular app As worldwide access to the web increases, we as developers are constantly pressed to make our apps internationally and locally accessible. When a user visits our apps, he or she should be able to switch languages on the fly at runtime. Given […]

Angular JS: Javascript promises

[Fuente:  http://wildermuth.com/2013/8/3/JavaScript_Promises] En este artículo hablamos sobre el concepto de objecto promise que varias librerias Javascript utilizan (incluyendo AngularJS , jQuery , Dojo y WinJS). Una promise es un patrón para manejar operaciones asíncronas. El problema es que esencialmente cuando comienzas una operación asíncrona, necesitas ejecutar cierto código cuando la operación se ha completado. El […]

AngularJs: Single Page Apps with AngularJS Routing and Templating

[Fuente: http://scotch.io/tutorials/javascript/single-page-apps-with-angularjs-routing-and-templating] Overview Single page apps are becoming increasingly popular. Sites that mimic the single page app behavior are able to provide the feel of a phone/tablet application. Angular helps to create applications like this easily. Our Simple App We’re just going to make a simple site with a home, about, and contact page. Angular […]

Angular JS: UI-bootstrap

Getting started Dependencies This repository contains a set of native AngularJS directives based on Bootstrap’s markup and CSS. As a result no dependency on jQuery or Bootstrap’s JavaScript is required. The only required dependencies are: AngularJS (minimal version 1.0.8) Bootstrap CSS (tested with version 3.0.3). This version of the library (0.10.0) works only with Bootstrap CSS in version 3.x. 0.8.0 is […]

AngularJs: Kickstart Your AngularJS Development with Yeoman, Grunt and Bower

[Fuente: http://www.sitepoint.com/kickstart-your-angularjs-development-with-yeoman-grunt-and-bower/] Whether you love or hate it, there’s no denying that AngularJS is the framework on every developer’s lips. It may not be for everybody, but AngularJS has a quirky, efficient and powerful feature set. Couple that with a few useful development tools like Yeoman, Grunt and Bower and you’ve got yourself an incredibly […]

AngularJS: End-to-end Testing

[Fuente: http://docs.angularjs.org/guide/dev_guide.e2e-testing] If you’re starting a new Angular project, you may want to look into using Protractor, as it is going to replace the current method of E2E Testing in the near future. As applications grow in size and complexity, it becomes unrealistic to rely on manual testing to verify the correctness of new features, catch […]