Skip to content

Instantly share code, notes, and snippets.

View jpwesselink's full-sized avatar
🏠
Inventing a better mouse trap

JP Wesselink jpwesselink

🏠
Inventing a better mouse trap
View GitHub Profile

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>
@jpwesselink
jpwesselink / scratch
Last active August 29, 2015 14:10 — forked from KrekkieD/scratch
angular.module('foo')
.factory('kak', function kak() {
'use strict';
/* ... */
});
// vs
(function () {
Trying to filter "out of office" emails from my inbox as I receive a lot of them when I send a blast.
I need help - what do your "out of office" emails say in your langauge? Comment Below!
Automatische Antwort
Automatic reply
AutoReply
Out of Office
Xesc Duran
Abwesend