(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /** | |
| * Decorates the ui-bootstrap datepicker directive's controller to allow | |
| * refreshing the datepicker view (and rerunning invalid dates function) | |
| * upon an event trigger: `$scope.$broadcast('refreshDatepickers');` | |
| * | |
| * Works with inline and popup. Include this after `ui.bootstrap` js | |
| */ | |
| angular.module('ui.bootstrap.datepicker') | |
| .config(function($provide) { | |
| $provide.decorator('datepickerDirective', function($delegate) { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* json_storage.js | |
| * @danott | |
| * 26 APR 2011 | |
| * | |
| * Building on a thread from Stack Overflow, override localStorage and sessionStorage's | |
| * getter and setter functions to allow for storing objects and arrays. | |
| * | |
| * Original thread: | |
| * http://stackoverflow.com/questions/2010892/storing-objects-in-html5-localstorage | |
| */ |