Skip to content

Instantly share code, notes, and snippets.

Created October 27, 2015 20:19
What would you like to do?
<!DOCTYPE html>
<html ng-app="myApp">
<script data-require="angular.js@1.4.7" data-semver="1.4.7" src=""></script>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="//" />
<script src="script.js"></script>
<div ng-controller="MyController as vm">
<h1>My Value: {{ vm.myValue }}</h1>
<my-awesome-directive update-function="vm.updateValue(valueToUpdate)">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment