Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h3>Server Communication</h3>
</div>
</div>
<div class=" row example">
<div class="span8 app-source" app-source="project.html project.js list.html detail.html" resource="resource" firebase="firebase" annotate="project.annotation" module="project"></div>
<div class="span8 app-source" app-source="project.html project.js list.html detail.html" resource="resource" route="route" firebase="firebase" annotate="project.annotation" module="project"></div>
<div class="span4">
<span hint></span>
<span class="pull-right" js-fiddle="project.html list.html detail.html project.js" resource="resource" module="project"></span>
Expand Down
2 changes: 2 additions & 0 deletions js/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ angular.module('homepage', [])
return {
angular: '<script src="https://ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular.min.js"></script>\n',
resource: '<script src="https://ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular-resource.min.js"></script>\n',
route: '<script src="https://ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular-route.min.js"></script>\n',
firebase: '<script src="https://cdn.firebase.com/v0/firebase.js"></script>\n <script src="https://cdn.firebase.com/libs/angularfire/0.5.0/angularfire.min.js"></script>\n'
};
})
Expand Down Expand Up @@ -149,6 +150,7 @@ angular.module('homepage', [])
' <head>\n' +
' ' + script.angular +
(attrs.resource ? (' ' + script.resource.replace('></', '>\n </')) : '') +
(attrs.route ? (' ' + script.route.replace('></', '>\n </')) : '') +
(attrs.firebase ? (' ' + script.firebase) : '') +
'__HEAD__' +
' </head>\n' +
Expand Down