Browse files

modular system for example

  • Loading branch information...
1 parent 134a91d commit 25df62cdda246f3273b3784607121ea81d3a823e @zemirco committed Apr 4, 2013
Showing with 3 additions and 1 deletion.
  1. +2 −1 example/index.html
  2. +1 −0 example/script.js
View
3 example/index.html
@@ -1,11 +1,12 @@
<!doctype html>
-<html ng-app="scoreboard">
+<html ng-app="myApp">
<head>
<title>ng-scoreboard-clock</title>
<link rel="stylesheet" href="style.css"/>
<script src="./vendor/jquery-1.9.1.min.js"></script>
<script src="./vendor/angular.min.js"></script>
<script type="text/javascript" src="../index.js"></script>
+ <script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1>Angular.js directive <a href="https://github.com/zeMirco/ng-scoreboard-clock">ng-scoreboard-clock</a></h1>
View
1 example/script.js
@@ -0,0 +1 @@
+angular.module('myApp', ['scoreboard']);

0 comments on commit 25df62c

Please sign in to comment.