JavaScript

AngularJs test directive with Karma and Jasmine

Any AngularJs application, needed to create re-using procedures for DOM manipulation, implements dedicated directives: they are code parts capable to execute actions inside a page, once called via classes, new attributes, ...

read more by Gianluca Arbezzano in Developers

File minification in AngularJS

Minification is a very important tool to reduce transmission time of code pieces. There is a wrong and diffused use not to apply code minification and to concatenate code, obliging clients to download all JavaScript depend...

read more by Antonello Pasella in Developers

Creation of a unit test for an AngularJS filter

With reference to the filter created in a previous article, now we want to create a test. The test can be used both to check the proper filter working and as a function specification document

read more by Antonello Pasella in Developers

Esxplose your translation to javascript client

This article discusses how to expose the translation system of symfony, so that it is made  available to your javacript scripts.   For translation handling purposes in symfony, we suggest to install JMSTranslat...

read more by Alessandro Nuzzo in Developers

Iteration between ngModel, $scope and direvtives

Imagine you need to include in a project AngularJs, the Bootstrap Datepicker: first of all you need to create your boilerplate with relevant restrictions and configurations. ##code-javascript## Then on top of the input ...

read more by Gianluca Arbezzano in Developers

AngularJS and Basic Auth

One of the simplest and most diffused tools to authenticate operations between clients (e. g. a browser) and servers (e

read more by Gabriele Mittica in Developers

Symfony and AngularJs manage routes

The main risk for an application using both symfony and angularjs is the duplication of    information.   Both frameworks have their own methods to handle routing

read more by Alessandro Nuzzo in Developers

How to set headers in Angular $http

When inquiring a remote endpoint, from a javascript application, you are usually performing an http call (GET, POST. .

read more by Gabriele Mittica in Developers

Symfony and AngularJs twig integration

Symfony and angularjs are two frameworks widely used on the web, also together. Today we'll discuss how to solve problems when they are used together, ie when angularjs is  used inside of the templating engine ...

read more by Alessandro Nuzzo in Developers

Package.json hooks and scripts

Every javascript project worthy of mention, contains a file for managing dependencies, allowing it to be quickly integrated inside other applications via NPM, Node Package Manager, the dependency manager of node

read more by Gianluca Arbezzano in Developers

cloudparty

Follow Us