Skip to content

Instantly share code, notes, and snippets.

View jennysjottings's full-sized avatar

jennysjottings

View GitHub Profile
@jennysjottings
jennysjottings / index.html
Created January 26, 2014 12:38
Example of binding isolated scopes in AngularJS
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body ng-app="myApp">
<div ng-controller="myController">
<div my-directive
text="Hello {{ parentProperty2 }}!"
attribute-for-one-way-bind="parentProperty1"