Skip to content

Instantly share code, notes, and snippets.

@hunterloftis
Created June 18, 2013 23:17
Show Gist options
  • Save hunterloftis/5810374 to your computer and use it in GitHub Desktop.
Save hunterloftis/5810374 to your computer and use it in GitHub Desktop.
angular
.module('skookum.mobile.feeditem', [])
.directive('sdwFeeditem', function($compile) {
return {
restrict: 'EA',
require: 'sdwFeeditem',
controller: feeditemController,
link: feeditemLink,
replace: true,
scope: {
text: '@'
},
template: '<div class="sdw-feeditem">{{ text }}</div>'
};
function feeditemController($scope) {
}
function feeditemLink(scope, element, attrs, controller) {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment