Skip to content

Instantly share code, notes, and snippets.

View jguix's full-sized avatar

Juan G. Jordán jguix

View GitHub Profile
@CMCDragonkai
CMCDragonkai / angularjs_directive_attribute_explanation.md
Last active November 29, 2023 15:35
JS: AngularJS Directive Attribute Binding Explanation

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>
@dhavaln
dhavaln / index.html
Created March 12, 2012 09:13
Phonegap 1.5/Cordova Lazy Load Test
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="https://raw.github.com/jbrantly/yabble/master/lib/yabble.js"></script>
<script src="js/jquery.js"></script>
</head>
<body>
<button id="loadPhonegap">Load Phonegap</button>