Browsing Tag

simple way

simpleresource

SimpleResource aims to provide a simple way to connect your Angular application to a RESTful backend API.Also, if your API is build using Ruby on Rails, and requests will be by default wrapped under this namespace.For example, if your namespace is , then data send will look like: Please note that…
Read More...

A brief walk-through of the ng-options in AngularJS

This tells ng-options directive to loop through the array, and generate option element containing the current value.The generated html looks like this: The value of each option element is the loop couter and the text inside the option…

tfs2015

I have a build definition that cleans, compiles and runs jasmine tests and using plato (npm install plato) creates a html report on the server. The second screen shot shows the report page the Plato package produces for Jasmine tests. I've…

Dynamically load a template in an Angular directive

Dynamically load a template in an Angular directive The factory provides a simple way to fetch a template, after which it is very easy to compile and append it to the directive element. then(function(html){ // Convert the html to an actual…

Build a data dashboard with AngularJS • Codigger

As soon as I began playing around with AngularJS, it struck me that its ability to grab data and use it directly in markup could offer great possibilities for data visualisation. The approach could present a really quick and simple way to…

MVVM: The KnockoutJS redemption – Fabio Silva Lima

To configure KnockoutJS to handle an object array will need to use KnockoutJS mapping plugin. KnockoutJS is javascript plugin with Model-View-View-Model ( MVVM ) pattern. For the example, KnockoutJS will handle MVVM inside a DIV with…

Constants in AngularJS – octoblog

Posted in AngularJS Tagged AngularJS , constants , good practices Drop us an email with your CV and tell us why you are eager to join our team. The goal of the post is to show you a simple way of dealing with Constants in the opinionated…

Demonstration of ngStyle in Angular2

In the article we will look into ngStyle with some examples. Example 2: Adding multiple properties to ngStyle We can add multiple properties to ngStyle by specifying comma(,) in between them. In the article we have learnt the use of…