by Joel Limardo
Home | Twitter | LinkedIn | Consulting | About | RSS | Map

Thu, 28 Apr 2016


posted at: 14:53 | path: /technical/javascript/angular | this entry | top

Disable Elements

It is possible to use Angular to easily disable controls depending on certain conditions. A simple example follows.

HTML File | Live Example

posted at: 13:55 | path: /technical/javascript/angular | this entry | top

Fri, 22 Apr 2016

Better Controller Example

The controller code:

The HTML File:

The The working example.

posted at: 22:55 | path: /technical/javascript/angular | this entry | top

Tue, 12 Apr 2016


As an MVC framework you would expect the controllers to be separated from the view and the model. One would think that a model would be restricted to some persistent storage somewhere but this framework (at least these examples that I appropriated) points to fields.

The controller code:

The HTML file:

posted at: 21:02 | path: /technical/javascript/angular | this entry | top

Mon, 14 Mar 2016

Simple Sum

Loading angular and having it sum values is simple.

posted at: 15:21 | path: /technical/javascript/angular | this entry | top

© 2015-2017. All Rights Reserved. All original code appearing on this site is MIT Licensed unless otherwise noted.