Ben Nadel looks at how to inject the ngModelController into a custom component directive controller, in AngularJS, keeping the controllers and the DOM separated thanks to Martin Hochel!
Ben Nadel renders image previews in the browser using URL.createObjectURL(), which provides a direct link to the file on the user's local system. This is faster and more efficient than using base64-encoded data URIs.
Ben Nadel looks at one way to conditionally cancel href-based navigation using a custom directive in AngularJS. This makes the view more expressive and the behavior more obvious.
Ben Nadel considers edge-cases, in AngularJS, when there is seemingly no way to avoid coupling of the Controller to the DOM (Document Object Model).
Ben Nadel experiments with creating an AngularJS directive that uses multiple points of transclusion to create a layout component directive.
More stuff from “Angular”
Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!
Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.